summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* nss_wrapper: more coherence tests for group membership.Günther Deschner2009-06-041-4/+58
| | | | Guenther
* nss_wrapper: add coherency tests for get{gr,pw}{nam,id}.Günther Deschner2009-06-041-11/+75
| | | | Guenther
* nss_wrapper: refactor test_nwrap_membership_user() in testsuite.Günther Deschner2009-06-041-14/+24
| | | | Guenther
* nss_wrapper: make full talloced copies of struct passwd and group in testsuite.Günther Deschner2009-06-041-5/+37
| | | | Guenther
* s4:torture Cut the RPC-SAMR-LARGE-DC test down to sizeAndrew Bartlett2009-06-041-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
* s4:torture assert that we get a Mailslot allocated before we dereferenceAndrew Bartlett2009-06-041-0/+2
|
* socket_wrapper Cope with SOCK_CLOEXEC and SOCK_NONBLOCK flagsAndrew Bartlett2009-06-041-4/+16
| | | | | | | | | | Heimdal will, on supporting systems, set these flags in the type argument of socket(), causing breakage when combined with socket_wrapper. For background on these flags, see http://lwn.net/Articles/281965/ Andrew Bartlett
* changed the auth path to use extended DN ops to avoid non-indexed searchesAndrew Tridgell2009-06-043-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.
* fixed ldb rename now that we have unique indexesAndrew Tridgell2009-06-041-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.
* add gendb_search_single_extended_dn()Andrew Tridgell2009-06-042-0/+103
| | | | | | | | This function searches for a single record using a given filter, adding the extended-dn control so that any returned DNs will have the GUID and SID fields returned. This will be used in the sam auth code to prevent us doing a member= search for the groups, which invokes an unindexed search.
* add NT_STATUS_HAVE_NO_MEMORY_AND_FREE()Andrew Tridgell2009-06-041-0/+9
| | | | | | | | In many places we use NT_STATUS_HAVE_NO_MEMORY() to auto-return when a memory allocation fails. In quite a few places where we use this, we end up leaving a tmp_ctx behind, which creates a memory leak. This macro takes a memory context to free when returning the error
* Don't run the RPC-SAMR-LARGE-DC test multiple timesAndrew Bartlett2009-06-041-1/+1
|
* s4:torture Make Samba4 build on hosts with an older libnetapiAndrew Bartlett2009-06-042-4/+7
| | | | | | | For example, Samba4 would not build (for the last week) on Fedora 10, with samba-common 3.2.11 installed. Andrew Bartlett
* Note that the delaytime for update has changed betweek w2k3 and w2k8.Jeremy Allison2009-06-031-7/+11
| | | | | We must eventually parameterize this. Jeremy.
* Fix S3 "make install". Don't build cifs.upcall.c in S4 as there are noJeremy Allison2009-06-031-4/+3
| | | | | checks to see if the required include file is available. Jeremy.
* Make the path to this uglyness complete so people can find the guilty party..Jeremy Allison2009-06-031-1/+1
| | | | Jeremy.
* Fix bug #2356 - smbclient -t <term code> no longer works.Jeremy Allison2009-06-033-35/+0
| | | | | Removed code and docs. Jeremy.
* s3: correct check for usleep value boundariesBjörn Jacke2009-06-031-1/+1
|
* s3:smbd: implement SMB2 WriteStefan Metzmacher2009-06-034-1/+216
| | | | | | This only works on file shares. metze
* s3:smbd: implement SMB2 ReadStefan Metzmacher2009-06-034-1/+210
| | | | | | This only works works on file shares. metze
* s3:smbd: implement SMB2 FlushStefan Metzmacher2009-06-034-1/+123
| | | | | | This works only on file shares yet. metze
* s3:smbd: implement SMB2 CloseStefan Metzmacher2009-06-034-1/+135
| | | | metze
* s3:smbd: implement a simple version of SMB2 CreateStefan Metzmacher2009-06-034-1/+277
| | | | | | | It only work on file shares and just ignores any additional Create Context Values. metze
* s3:smbd: add smbd_smb2_fake_smb_request()Stefan Metzmacher2009-06-033-1/+54
| | | | metze
* s3:smbd: return more details in the SMB2 Tree Connect responseStefan Metzmacher2009-06-031-6/+32
| | | | metze
* s3:smbd: create a connection_struct in SMB2 Tree ConnectStefan Metzmacher2009-06-034-1/+30
| | | | metze
* s3:smbd: create a user_struct for compat in SMB2 Session SetupStefan Metzmacher2009-06-033-1/+19
| | | | metze
* s3:smbd: add a lazy mode for conn_new() and conn_free() for SMB2Stefan Metzmacher2009-06-031-0/+15
| | | | metze
* s3:smbd: make make_connection_snum() non staticStefan Metzmacher2009-06-032-2/+6
| | | | metze
* s3:smbd: move tcon specific globals to struct smbd_server_connectionStefan Metzmacher2009-06-0311-86/+96
| | | | metze
* s3:smbd: move more session specific globals to struct smbd_server_connectionStefan Metzmacher2009-06-0316-184/+261
| | | | metze
* s3:smbd: move some session specific globals to struct smbd_server_connectionStefan Metzmacher2009-06-038-22/+29
| | | | metze
* s3:smbd: move already_got_session to struct smbd_server_connectionStefan Metzmacher2009-06-034-6/+7
| | | | metze
* s3:smbd: move max_recv to struct smbd_server_connectionStefan Metzmacher2009-06-035-21/+22
| | | | metze
* s3:smbd: move negprot related globals to struct smbd_server_connectionStefan Metzmacher2009-06-039-61/+96
| | | | metze
* s3:smbd: move pending_auth_data list to struct smbd_server_connectionStefan Metzmacher2009-06-034-32/+37
| | | | metze
* s3:torture: fix password timestamp checks on NetBSDBjörn Jacke2009-06-031-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.
* selftest: Add script that can take a subunit stream and format it.Jelmer Vernooij2009-06-031-0/+68
|
* selftest/plain: Allow caller to not specify the number of expectedJelmer Vernooij2009-06-031-1/+5
| | | | testsuites to run.
* selftest: Run tests for Samba4 target in the samba 4 testsuite.Jelmer Vernooij2009-06-031-0/+1
|
* selftest: Fix target/Samba4 tests.Jelmer Vernooij2009-06-031-2/+3
|
* Remove empty unit test.Jelmer Vernooij2009-06-031-7/+0
|
* selftest/README: Fix formatting.Jelmer Vernooij2009-06-031-5/+13
|
* selftest: Factor generic functionality for buildfarm output into aJelmer Vernooij2009-06-032-35/+88
| | | | separate perl module.
* Support reporting current time in selftest output.Jelmer Vernooij2009-06-034-7/+32
|
* selftest: Add subunit output format.Jelmer Vernooij2009-06-032-0/+105
|
* Rename harness2subunit.pl -> tap2subunit to be consistent with theJelmer Vernooij2009-06-032-1/+1
| | | | subunit tools.
* README: Fix indentation of bullet point.Jelmer Vernooij2009-06-032-5/+5
| | | | README.Coding: Use consistent header.
* Move findstatic.pl script to top-level.Jelmer Vernooij2009-06-032-70/+0
|
* s4:torture/libnetapi: fix netapi detectionStefan Metzmacher2009-06-031-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