summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2009-06-07s4-smbtorture: skip samr MultipleMember alias tests for 3 as well as we do ↵Günther Deschner1-2/+3
already for s4. Guenther
2009-06-06Allow access as SYSTEM on a privileged ldapi connectionVolker Lendecke1-13/+83
This patch creates ldap_priv/ as a subdirectory under the private dir with the appropriate permissions to only allow the same access as the privileged winbind socket allows. Connecting to ldap_priv/ldapi gives SYSTEM access to the ldap database.
2009-06-06Fix some nonempty blank linesVolker Lendecke2-64/+60
2009-06-05fixed handling of change notify buffer overrunsAndrew Tridgell1-2/+9
When the notify buffer overruns and there are no pending notify requests, the notify buffer doesn't actually get destroyed, it just gets put in a state where new notifies are discarded and the next notify change request will return 0 changes.
2009-06-04s4-smbtorture: fix comment in RPC-SAMR-LARGE-DC test.Günther Deschner1-3/+3
Andrew, I think you wanted to print this instead. Guenther
2009-06-04Increase tevent version for tevent_req_notify_callback()Volker Lendecke1-1/+1
2009-06-04s4:torture Cut the RPC-SAMR-LARGE-DC test down to sizeAndrew Bartlett1-7/+16
This removes the validation of the estimated number of accounts, because MS-SAMR 3.1.5.5.1.1 makes clear the number returned cannot be relied apon. I've also converted a bit more of the test to use torture_assert(), and where that is impractical, to print error messages when things fail. Andrew Bartlett
2009-06-04s4:torture assert that we get a Mailslot allocated before we dereferenceAndrew Bartlett1-0/+2
2009-06-04changed the auth path to use extended DN ops to avoid non-indexed searchesAndrew Tridgell3-92/+91
Logs showed that every SAM authentication was causing a non-indexed ldb search for member=XXX. This was previously indexed in Samba4, but since we switched to using the indexes from the full AD schema it now isn't. The fix is to use the extended DN operations to allow us to ask the server for the memberOf attribute instead, with with the SIDs attached to the result. This also means one less search on every authentication. The patch is made more complex by the fact that some common routines use the result of these user searches, so we had to update all searches that uses user_attrs and those common routines to make sure they all returned a ldb_message with a memberOf filled in and the SIDs attached.
2009-06-04fixed ldb rename now that we have unique indexesAndrew Tridgell1-30/+11
With unique indexes, any rename of a record that has an attribute that is uniquely indexed needs to be done as a delete followed by an add, otherwse you'll get an error that the attribute value already exists.
2009-06-04Don't run the RPC-SAMR-LARGE-DC test multiple timesAndrew Bartlett1-1/+1
2009-06-04s4:torture Make Samba4 build on hosts with an older libnetapiAndrew Bartlett2-4/+7
For example, Samba4 would not build (for the last week) on Fedora 10, with samba-common 3.2.11 installed. Andrew Bartlett
2009-06-03Note that the delaytime for update has changed betweek w2k3 and w2k8.Jeremy Allison1-7/+11
We must eventually parameterize this. Jeremy.
2009-06-03Fix S3 "make install". Don't build cifs.upcall.c in S4 as there are noJeremy Allison1-4/+3
checks to see if the required include file is available. Jeremy.
2009-06-03Make the path to this uglyness complete so people can find the guilty party..Jeremy Allison1-1/+1
Jeremy.
2009-06-03s3:torture: fix password timestamp checks on NetBSDBjörn Jacke1-1/+1
The Open Group says: "The useconds argument [of usleep] must be less than 1,000,000." NetBSD takes this seriously. usleep of more than 999999 are effectless.
2009-06-03selftest: Run tests for Samba4 target in the samba 4 testsuite.Jelmer Vernooij1-0/+1
2009-06-03Rename harness2subunit.pl -> tap2subunit to be consistent with theJelmer Vernooij1-1/+1
subunit tools.
2009-06-03Move findstatic.pl script to top-level.Jelmer Vernooij1-70/+0
2009-06-03s4:torture/libnetapi: fix netapi detectionStefan Metzmacher1-3/+7
We need to set SMB_ENABLE(TORTURE_LIBNETAPI,NO) first to overwrite the default of YES for MODULES and then only set it to YES if netapi was found. metze
2009-06-03SMB2-CONNECT: make it possible to specific the max write size via ↵Stefan Metzmacher1-1/+1
--option=torture:smb2maxwrite=12345 metze
2009-06-02Move mount.cifs/umount.cifs to the top level and remove the outdated copyJelmer Vernooij5-560/+32
in Samba 4.
2009-06-02Fix unresolved symbol in python messaging module.Jelmer Vernooij5-13/+14
2009-06-02Fix pythonpath so subunit can be found.Jelmer Vernooij1-1/+1
2009-06-02Fix finding the LDB header files in the system in pyldb_util.Jelmer Vernooij3-1/+3
2009-06-02Build modules statically by default, as there still seem to be a lot ofJelmer Vernooij1-1/+2
issues with those even if shared libs work.
2009-06-02Fix more unresolved symbols.Jelmer Vernooij14-88/+99
2009-06-02python: Move helper functions for using param into a separate file ratherJelmer Vernooij7-45/+75
than linking against the python module.
2009-06-02Split up Python code a little bit so we don't hav eto link python modulesJelmer Vernooij1-0/+39
to each other.
2009-06-02Fix dependencies when using shared libraries.Jelmer Vernooij3-2/+3
2009-06-01Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell1-1/+1
2009-06-01use the unique flag on ldb attributes to optimise & clausesAndrew Tridgell1-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.
2009-06-01s4:mkproto: Add NET_API_STATUS return type.Andrew Kroeger1-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.
2009-06-01we don't need the unique checks in the samldb code nowAndrew Tridgell1-162/+2
These attributes now use the unique indexing flag
2009-06-01mark samAccountName, objectGUID and objectSID as unique indexedAndrew Tridgell1-0/+20
2009-06-01added support for unique indexing in ldbAndrew Tridgell2-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
2009-06-01fix uninitialised use of samctxAndrew Tridgell1-0/+2
2009-06-01when comp_num is zero, the case folded DN is always ""Andrew Tridgell1-8/+2
This fixes a bug where we would look at an uninitialised dn->linearized
2009-06-01Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell24-1718/+1284
2009-05-30Move a comment where it belongsVolker Lendecke1-3/+6
2009-05-30libwbclient: Add async call framework.Kai Blin5-4/+6
2009-05-29s4-smbtorture: fix the build w/o libnetapi.Günther Deschner1-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
2009-05-29s4-smbtorture: add NETAPI-GROUP test.Günther Deschner3-1/+523
Guenther
2009-05-29s4-smbtorture: add NETAPI-USER test.Günther Deschner3-1/+479
Guenther
2009-05-29s4-smbtorture: add very basic LIBNETAPI testsuite.Günther Deschner6-0/+124
Guenther
2009-05-29s4-smbtorture: add a very basic NSS-WRAPPER testsuite.Günther Deschner2-1/+4
Guenther
2009-05-29s4-smbtorture: remove trailing whitespace.Günther Deschner1-3/+3
Guenther
2009-05-29s4-smbtorture: Fix test_SamLogon() for netlogon servers not yet supportingGünther Deschner1-0/+4
validation level 6. Guenther
2009-05-29Fix some nonempty blank linesVolker Lendecke1-11/+11
2009-05-29Win2k3 don't allow creating of domain trust accounts over SAMRAndrew Bartlett2-6/+6