summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-06-04socket_wrapper Cope with SOCK_CLOEXEC and SOCK_NONBLOCK flagsAndrew Bartlett1-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
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-04add gendb_search_single_extended_dn()Andrew Tridgell2-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.
2009-06-04add NT_STATUS_HAVE_NO_MEMORY_AND_FREE()Andrew Tridgell1-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
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-03Fix bug #2356 - smbclient -t <term code> no longer works.Jeremy Allison3-35/+0
Removed code and docs. Jeremy.
2009-06-03s3: correct check for usleep value boundariesBjörn Jacke1-1/+1
2009-06-03s3:smbd: implement SMB2 WriteStefan Metzmacher4-1/+216
This only works on file shares. metze
2009-06-03s3:smbd: implement SMB2 ReadStefan Metzmacher4-1/+210
This only works works on file shares. metze
2009-06-03s3:smbd: implement SMB2 FlushStefan Metzmacher4-1/+123
This works only on file shares yet. metze
2009-06-03s3:smbd: implement SMB2 CloseStefan Metzmacher4-1/+135
metze
2009-06-03s3:smbd: implement a simple version of SMB2 CreateStefan Metzmacher4-1/+277
It only work on file shares and just ignores any additional Create Context Values. metze
2009-06-03s3:smbd: add smbd_smb2_fake_smb_request()Stefan Metzmacher3-1/+54
metze
2009-06-03s3:smbd: return more details in the SMB2 Tree Connect responseStefan Metzmacher1-6/+32
metze
2009-06-03s3:smbd: create a connection_struct in SMB2 Tree ConnectStefan Metzmacher4-1/+30
metze
2009-06-03s3:smbd: create a user_struct for compat in SMB2 Session SetupStefan Metzmacher3-1/+19
metze
2009-06-03s3:smbd: add a lazy mode for conn_new() and conn_free() for SMB2Stefan Metzmacher1-0/+15
metze
2009-06-03s3:smbd: make make_connection_snum() non staticStefan Metzmacher2-2/+6
metze
2009-06-03s3:smbd: move tcon specific globals to struct smbd_server_connectionStefan Metzmacher11-86/+96
metze
2009-06-03s3:smbd: move more session specific globals to struct smbd_server_connectionStefan Metzmacher16-184/+261
metze
2009-06-03s3:smbd: move some session specific globals to struct smbd_server_connectionStefan Metzmacher8-22/+29
metze
2009-06-03s3:smbd: move already_got_session to struct smbd_server_connectionStefan Metzmacher4-6/+7
metze
2009-06-03s3:smbd: move max_recv to struct smbd_server_connectionStefan Metzmacher5-21/+22
metze
2009-06-03s3:smbd: move negprot related globals to struct smbd_server_connectionStefan Metzmacher9-61/+96
metze
2009-06-03s3:smbd: move pending_auth_data list to struct smbd_server_connectionStefan Metzmacher4-32/+37
metze
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: Add script that can take a subunit stream and format it.Jelmer Vernooij1-0/+68
2009-06-03selftest/plain: Allow caller to not specify the number of expectedJelmer Vernooij1-1/+5
testsuites to run.
2009-06-03selftest: Run tests for Samba4 target in the samba 4 testsuite.Jelmer Vernooij1-0/+1
2009-06-03selftest: Fix target/Samba4 tests.Jelmer Vernooij1-2/+3
2009-06-03Remove empty unit test.Jelmer Vernooij1-7/+0
2009-06-03selftest/README: Fix formatting.Jelmer Vernooij1-5/+13
2009-06-03selftest: Factor generic functionality for buildfarm output into aJelmer Vernooij2-35/+88
separate perl module.
2009-06-03Support reporting current time in selftest output.Jelmer Vernooij4-7/+32
2009-06-03selftest: Add subunit output format.Jelmer Vernooij2-0/+105
2009-06-03Rename harness2subunit.pl -> tap2subunit to be consistent with theJelmer Vernooij2-1/+1
subunit tools.
2009-06-03README: Fix indentation of bullet point.Jelmer Vernooij2-5/+5
README.Coding: Use consistent header.
2009-06-03Move findstatic.pl script to top-level.Jelmer Vernooij2-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-03s3:smbd: remove old comment, we support SMB2 signing nowStefan Metzmacher1-2/+0
metze
2009-06-03s3:smbd: allow SMB2 only if we don't use security = shareStefan Metzmacher1-1/+2
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 Vernooij12-565/+37
in Samba 4.
2009-06-02Support getting gpfs birthtimeVolker Lendecke3-0/+82
2009-06-02Fix unresolved symbol in python messaging module.Jelmer Vernooij5-13/+14