summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2009-06-011-1/+1
|\
| * s4:mkproto: Add NET_API_STATUS return type.Andrew Kroeger2009-06-011-1/+1
| | | | | | | | | | | | | | The recently added LIBNETAPI torture tests use NET_API_STATUS as a return type for some functions. The torture/libnetapi/proto.h private header that was being generated by mkproto.pl did not include a prototype for the test_netuseradd() function, as it did not know how to handle the NET_API_STATUS return type.
* | use the unique flag on ldb attributes to optimise & clausesAndrew Tridgell2009-06-011-46/+72
|/ | | | | | | | | | | | | | | | | | When a attribute is marked unique we know that if we find a match it will be the only possible match. This means that in a list of subtrees connected by an &, it is best to first load the index values for the unique entries, as if they find something then we know we won't have to look any further. This helps with searches like this: (&(objectclass=user)(samaccountname=tridge)) the old code would first have loaded the very large index for the objectclass=user attribute, and then loaded the single entry for samaccountname=tridge. Now we load the samaccountname=tridge entry first, notice that it gives us a single result, and stop, thereby skipping the load of the objectclass=user index record completely.
* we don't need the unique checks in the samldb code nowAndrew Tridgell2009-06-011-162/+2
| | | | These attributes now use the unique indexing flag
* mark samAccountName, objectGUID and objectSID as unique indexedAndrew Tridgell2009-06-011-0/+20
|
* added support for unique indexing in ldbAndrew Tridgell2009-06-012-7/+32
| | | | | | | | | When a attribute is marked as LDB_ATTR_FLAG_UNIQUE_INDEX then attempts to add a 2nd record that has the same attribute value for this attribute as another record will fail. This provides a much more efficient mechanism for ensuring that attributes like objectGUID are unique
* fix uninitialised use of samctxAndrew Tridgell2009-06-011-0/+2
|
* when comp_num is zero, the case folded DN is always ""Andrew Tridgell2009-06-011-8/+2
| | | | | This fixes a bug where we would look at an uninitialised dn->linearized
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2009-06-0124-1718/+1284
|\
| * Move a comment where it belongsVolker Lendecke2009-05-301-3/+6
| |
| * libwbclient: Add async call framework.Kai Blin2009-05-305-4/+6
| |
| * s4-smbtorture: fix the build w/o libnetapi.Günther Deschner2009-05-291-0/+8
| | | | | | | | | | | | | | | | | | | | This is surely the wrong fix, but I could not figure out why the samba4 build system adds the init function although the m4 macro had switched off the torture libnetapi subsystem when the headers and libs were not found. Can one of the samba4 build gurus please have a look ? Guenther
| * s4-smbtorture: add NETAPI-GROUP test.Günther Deschner2009-05-293-1/+523
| | | | | | | | Guenther
| * s4-smbtorture: add NETAPI-USER test.Günther Deschner2009-05-293-1/+479
| | | | | | | | Guenther
| * s4-smbtorture: add very basic LIBNETAPI testsuite.Günther Deschner2009-05-296-0/+124
| | | | | | | | Guenther
| * s4-smbtorture: add a very basic NSS-WRAPPER testsuite.Günther Deschner2009-05-292-1/+4
| | | | | | | | Guenther
| * s4-smbtorture: remove trailing whitespace.Günther Deschner2009-05-291-3/+3
| | | | | | | | Guenther
| * s4-smbtorture: Fix test_SamLogon() for netlogon servers not yet supportingGünther Deschner2009-05-291-0/+4
| | | | | | | | | | | | validation level 6. Guenther
| * Fix some nonempty blank linesVolker Lendecke2009-05-291-11/+11
| |
| * Win2k3 don't allow creating of domain trust accounts over SAMRAndrew Bartlett2009-05-292-6/+6
| |
| * s4:torture Don't try to Close a Deleted handleAndrew Bartlett2009-05-291-2/+0
| |
| * s4: Add additional 2-letter SID/RID mappings.Andrew Kroeger2009-05-291-0/+23
| | | | | | | | Information from http://msdn.microsoft.com/en-us/library/aa379602(VS.85).aspx
| * s4:setup Remove generated attributes from provision_configurationAndrew Bartlett2009-05-291-195/+0
| | | | | | | | | | | | | | Incorrectly added in 95eeef91d3ed7daf8e19029eadcc610caf26db63, and found by OpenLDAP backend tests run by Theodor Chirana <office@adaptcom.ro> Andrew Bartlett
| * s4:torture Don't run QueryDisplayInfo test for SAMR-USERS-PRIVILEGESAndrew Bartlett2009-05-291-2/+7
| |
| * s4:torture Clean up users and groups added in RPC-SAMR-LARGE-DCAndrew Bartlett2009-05-291-11/+37
| |
| * s4:torture Half the repeditive tests run by RPC-SAMR-PASSWORDS-PWDLASTSETAndrew Bartlett2009-05-291-1/+6
| |
| * Explicitly list RPC-SAMR-PASSWORDS-PWDLASTSET and RPC-SAMR-USERS-PRIVILAGES ↵Andrew Bartlett2009-05-291-1/+1
| | | | | | | | as slow
| * s4:client Match Samba3 and remove smbmount from the distributionAndrew Bartlett2009-05-293-1434/+0
| |
| * s4:torture Make the RPC-SAMR-PWDLASTET more efficientAndrew Bartlett2009-05-291-49/+43
| | | | | | | | | | | | | | | | | | By using SamLogonEx we avoid setting up the credentials chain for each request. (Needs to be pushed further up the stack, to only connect to NETLOGON once). Andrew Bartlett
* | Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2009-05-2814-50/+94
|\|
| * Modified SamDB to accept options like Ldb.Nadezhda Ivanova2009-05-271-2/+2
| |
| * Detect missing 'witch' before detecting missing autoconfAndrew Bartlett2009-05-271-1/+6
| |
| * Handle the krbtgt special case by looking for RID -514Andrew Bartlett2009-05-271-26/+52
| | | | | | | | | | | | | | | | It turns out (seen in MS-SAMR 3.1.1.7.1 for example) that the primary way the krbtgt account is recognised as special is that RID. This should fix issues such as 'password expired' on the kpasswd service. Andrew Bartlett
| * s4:tevent: Increase trace debug level to 50.Andrew Kroeger2009-05-271-1/+1
| | | | | | | | | | | | | | The sheer volume of messages generated by tevent when the trace level is set to 10 makes it difficult to debug issues in a level 10 log. Increasing this to 50 allows tevent tracing to be enabled if needed, but otherwise keeps the extra chatter out of a level 10 log.
| * s4:ldb_modules: Correct typos.Andrew Kroeger2009-05-262-2/+2
| |
| * s4:ldb:modules: Correct typos.Andrew Kroeger2009-05-264-6/+4
| |
| * s4:libcli/smb2: remove old dialect revision constantsStefan Metzmacher2009-05-261-4/+0
| | | | | | | | metze
| * s4:smb2srv: We only support SMB 2.002.Stefan Metzmacher2009-05-262-6/+12
| | | | | | | | | | | | | | We need to loop over all given dialects and check if we can find SMB2_DIALECT_REVISION_202. metze
| * s4:libcli/smb2: use new SMB2_DIVELECT_REVISION constantsStefan Metzmacher2009-05-261-2/+5
| | | | | | | | | | | | | | Also send them in the order a windows client would send them (the lowest first). metze
| * s4:libcli/smb2: add some more SMB2 constantsStefan Metzmacher2009-05-261-4/+14
| | | | | | | | metze
* | a useful debugging toolAndrew Tridgell2009-05-281-0/+7
| | | | | | | | | | | | When looking at performance problems with ldb it can be useful to see which searches causes unindexed full searches. This makes it easy to enable that.
* | fixed one-level indexingAndrew Tridgell2009-05-281-6/+2
| | | | | | | | | | | | | | | | one-level indexing was not always effective due to some broken logic in the indexing code. This change means that if normal indexing fails, we can still fall back on one-level indexing. This reduces the number of full unindexed searches in s4 quite a lot
* | enable one-level indexing in sam.ldbAndrew Tridgell2009-05-281-0/+5
| |
* | use domain_dn not ncnameAndrew Tridgell2009-05-261-3/+2
|/ | | | fixed up from previous patch that removed the use of crossref records
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2009-05-2616-615/+253
|\
| * Don't use crossRef records to find our own domainAndrew Bartlett2009-05-2616-615/+253
| | | | | | | | | | | | | | | | A single AD server can only host a single domain, so don't stuff about with looking up our crossRef record in the cn=Partitions container. We instead trust that lp_realm() and lp_workgroup() works correctly. Andrew Bartlett
* | s4:provision: Added ComPartitionSets entry.Andrew Kroeger2009-05-261-0/+5
| | | | | | | | | | | | | | Without this entry, opening the COM+ tab under the properties of an OU within ADUC results in the following error: "Unable to retrieve all user properties, 0x80072030"
* | s4:Added Extended-Rights and subentries.Andrew Kroeger2009-05-261-0/+881
| | | | | | | | | | | | | | | | Without these entries, using the 'Delegate Control' option in ADUC results in the following error message in the Delegation of Control Wizard: "The templates could not be applied. One or more of the templates is not applicable. Click Back and select different templates, and then try again."
* | s4:provision: Update DisplaySpecifiers (#5139).Andrew Kroeger2009-05-261-0/+369
|/ | | | | | | | | | | | The classDisplayName attribute controls the actual text displayed to the user for the top-level menus, so added it to the existing entries. The attributeDisplayNames attribute contains both the text displayed to the user and a mapping to the internal directory attribute name for the particular field, so added these to the existing entries as well. Added new entries as appropriate to properly complete all menus and labels within ADUC.
* source{3,4}/torture/smbiconv.c(main): fixed file descriptor leak.Slava Semushin2009-05-251-0/+1
| | | | | | | | File descriptor leaks only when we use file instead of stdout. Found by cppcheck: [./source3/torture/smbiconv.c:219]: (error) Resource leak: out [./source4/torture/smbiconv.c:211]: (error) Resource leak: out