Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-06-04 | Add tevent_req_notify_callback | Volker Lendecke | 2 | -4/+13 | |
This is necessary for requests that have multiple results. Examples would be SMBEcho and ldap_search. | |||||
2009-06-04 | nss_wrapper: call the nwrap_files_*() from nwrap_files_*_r() | Stefan Metzmacher | 1 | -9/+7 | |
We should not call the public functions, as this could lead to a recursive loop when we have multiple nwrap backends in future. This also fixes the build if --enable-nss-wrapper was not given to ./configure. metze | |||||
2009-06-04 | Only err on readability if writev_send was explicitly asked to do so | Volker Lendecke | 1 | -1/+1 | |
A socket might be readable for other reasons | |||||
2009-06-04 | nss_wrapper: more coherence tests for group membership. | Günther Deschner | 1 | -4/+58 | |
Guenther | |||||
2009-06-04 | nss_wrapper: add coherency tests for get{gr,pw}{nam,id}. | Günther Deschner | 1 | -11/+75 | |
Guenther | |||||
2009-06-04 | nss_wrapper: refactor test_nwrap_membership_user() in testsuite. | Günther Deschner | 1 | -14/+24 | |
Guenther | |||||
2009-06-04 | nss_wrapper: make full talloced copies of struct passwd and group in testsuite. | Günther Deschner | 1 | -5/+37 | |
Guenther | |||||
2009-06-04 | s4:torture Cut the RPC-SAMR-LARGE-DC test down to size | Andrew Bartlett | 1 | -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-04 | s4:torture assert that we get a Mailslot allocated before we dereference | Andrew Bartlett | 1 | -0/+2 | |
2009-06-04 | socket_wrapper Cope with SOCK_CLOEXEC and SOCK_NONBLOCK flags | Andrew Bartlett | 1 | -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-04 | changed the auth path to use extended DN ops to avoid non-indexed searches | Andrew Tridgell | 3 | -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-04 | fixed ldb rename now that we have unique indexes | Andrew Tridgell | 1 | -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-04 | add gendb_search_single_extended_dn() | Andrew Tridgell | 2 | -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-04 | add NT_STATUS_HAVE_NO_MEMORY_AND_FREE() | Andrew Tridgell | 1 | -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-04 | Don't run the RPC-SAMR-LARGE-DC test multiple times | Andrew Bartlett | 1 | -1/+1 | |
2009-06-04 | s4:torture Make Samba4 build on hosts with an older libnetapi | Andrew Bartlett | 2 | -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-03 | Note that the delaytime for update has changed betweek w2k3 and w2k8. | Jeremy Allison | 1 | -7/+11 | |
We must eventually parameterize this. Jeremy. | |||||
2009-06-03 | Fix S3 "make install". Don't build cifs.upcall.c in S4 as there are no | Jeremy Allison | 1 | -4/+3 | |
checks to see if the required include file is available. Jeremy. | |||||
2009-06-03 | Make the path to this uglyness complete so people can find the guilty party.. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-06-03 | Fix bug #2356 - smbclient -t <term code> no longer works. | Jeremy Allison | 3 | -35/+0 | |
Removed code and docs. Jeremy. | |||||
2009-06-03 | s3: correct check for usleep value boundaries | Björn Jacke | 1 | -1/+1 | |
2009-06-03 | s3:smbd: implement SMB2 Write | Stefan Metzmacher | 4 | -1/+216 | |
This only works on file shares. metze | |||||
2009-06-03 | s3:smbd: implement SMB2 Read | Stefan Metzmacher | 4 | -1/+210 | |
This only works works on file shares. metze | |||||
2009-06-03 | s3:smbd: implement SMB2 Flush | Stefan Metzmacher | 4 | -1/+123 | |
This works only on file shares yet. metze | |||||
2009-06-03 | s3:smbd: implement SMB2 Close | Stefan Metzmacher | 4 | -1/+135 | |
metze | |||||
2009-06-03 | s3:smbd: implement a simple version of SMB2 Create | Stefan Metzmacher | 4 | -1/+277 | |
It only work on file shares and just ignores any additional Create Context Values. metze | |||||
2009-06-03 | s3:smbd: add smbd_smb2_fake_smb_request() | Stefan Metzmacher | 3 | -1/+54 | |
metze | |||||
2009-06-03 | s3:smbd: return more details in the SMB2 Tree Connect response | Stefan Metzmacher | 1 | -6/+32 | |
metze | |||||
2009-06-03 | s3:smbd: create a connection_struct in SMB2 Tree Connect | Stefan Metzmacher | 4 | -1/+30 | |
metze | |||||
2009-06-03 | s3:smbd: create a user_struct for compat in SMB2 Session Setup | Stefan Metzmacher | 3 | -1/+19 | |
metze | |||||
2009-06-03 | s3:smbd: add a lazy mode for conn_new() and conn_free() for SMB2 | Stefan Metzmacher | 1 | -0/+15 | |
metze | |||||
2009-06-03 | s3:smbd: make make_connection_snum() non static | Stefan Metzmacher | 2 | -2/+6 | |
metze | |||||
2009-06-03 | s3:smbd: move tcon specific globals to struct smbd_server_connection | Stefan Metzmacher | 11 | -86/+96 | |
metze | |||||
2009-06-03 | s3:smbd: move more session specific globals to struct smbd_server_connection | Stefan Metzmacher | 16 | -184/+261 | |
metze | |||||
2009-06-03 | s3:smbd: move some session specific globals to struct smbd_server_connection | Stefan Metzmacher | 8 | -22/+29 | |
metze | |||||
2009-06-03 | s3:smbd: move already_got_session to struct smbd_server_connection | Stefan Metzmacher | 4 | -6/+7 | |
metze | |||||
2009-06-03 | s3:smbd: move max_recv to struct smbd_server_connection | Stefan Metzmacher | 5 | -21/+22 | |
metze | |||||
2009-06-03 | s3:smbd: move negprot related globals to struct smbd_server_connection | Stefan Metzmacher | 9 | -61/+96 | |
metze | |||||
2009-06-03 | s3:smbd: move pending_auth_data list to struct smbd_server_connection | Stefan Metzmacher | 4 | -32/+37 | |
metze | |||||
2009-06-03 | s3:torture: fix password timestamp checks on NetBSD | Björn Jacke | 1 | -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-03 | selftest: Add script that can take a subunit stream and format it. | Jelmer Vernooij | 1 | -0/+68 | |
2009-06-03 | selftest/plain: Allow caller to not specify the number of expected | Jelmer Vernooij | 1 | -1/+5 | |
testsuites to run. | |||||
2009-06-03 | selftest: Run tests for Samba4 target in the samba 4 testsuite. | Jelmer Vernooij | 1 | -0/+1 | |
2009-06-03 | selftest: Fix target/Samba4 tests. | Jelmer Vernooij | 1 | -2/+3 | |
2009-06-03 | Remove empty unit test. | Jelmer Vernooij | 1 | -7/+0 | |
2009-06-03 | selftest/README: Fix formatting. | Jelmer Vernooij | 1 | -5/+13 | |
2009-06-03 | selftest: Factor generic functionality for buildfarm output into a | Jelmer Vernooij | 2 | -35/+88 | |
separate perl module. | |||||
2009-06-03 | Support reporting current time in selftest output. | Jelmer Vernooij | 4 | -7/+32 | |
2009-06-03 | selftest: Add subunit output format. | Jelmer Vernooij | 2 | -0/+105 | |
2009-06-03 | Rename harness2subunit.pl -> tap2subunit to be consistent with the | Jelmer Vernooij | 2 | -1/+1 | |
subunit tools. |