summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-06-05s3:smbd: split smbd_smb2_write() into tevent_req based *_send()/_recv() ↵Stefan Metzmacher1-47/+129
functions metze
2009-06-05s3:smbd: split smbd_smb2_read() into tevent_req based *_send()/_recv() functionsStefan Metzmacher1-61/+148
metze
2009-06-05s3:smbd: make smbd_server_connection_terminate() a macroStefan Metzmacher2-3/+11
metze
2009-06-05s3:smbd: implement smbd_smb2_request_error/done() as macros on top of the ↵Stefan Metzmacher4-30/+23
_ex() function metze
2009-06-05s3:smbd: add support for printers to SMB2 CreateStefan Metzmacher1-38/+41
This is not tested, but the code looks like the for SMB1, so it's likely to work:-) metze
2009-06-05source3/torture/vfstest.c(process_file): fixed file descriptor leak.Slava Semushin1-0/+4
Found by cppcheck: [./source3/torture/vfstest.c:400]: (error) Resource leak: file
2009-06-05Fix a couple of warnings in log2pcaphex.cVolker Lendecke1-8/+12
2009-06-05Fix bug 6392: Exit log2pcaphex if a requested output file can't be openedVolker Lendecke1-0/+1
Thanks to Slava Semushin <php-coder@altlinux.org> for reporting!
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-05pidl Fix samba4.pidl.typelist test after addition of 'double'Andrew Bartlett1-0/+1
2009-06-04clikrb5: Prefer krb5_free_keytab_entry_contents to krb5_kt_free_entry.Jelmer Vernooij1-3/+8
Both functions exist in MIT Kerberos >= 1.7, but only krb5_free_keytab_entry_contents has a prototype.
2009-06-04s3:smbd: ignore NTCREATEX_OPTIONS_SYNC_ALERT and ↵Stefan Metzmacher1-0/+4
NTCREATEX_OPTIONS_ASYNC_ALERT for SMB2 Create This should make the Windows Explorer happier. metze
2009-06-04s3:smbd: call set_current_service() when a SMB2 tcon will be usedStefan Metzmacher1-0/+5
metze
2009-06-04s3:smbd: fix potential fsp leak if print_fsp_open() failsStefan Metzmacher1-0/+1
metze
2009-06-04libwbclient: Attempt to fix build on AIXKai Blin7-0/+7
2009-06-04s3: map NetBSD's errno on posix open calls for symlinksBjörn Jacke1-0/+3
This is well undocumented but NetBSD returns EFTYPE on O_NOFOLLOW open calls on symlinks.
2009-06-04Change smbd_smb2_request_error() to add a __location__.Jeremy Allison3-10/+13
This allows quick identification of smb2 parsing errors. Jeremy.
2009-06-04nss_wrapper: remove getgrouplist from nwrap_ops table.Günther Deschner1-72/+64
Guenther
2009-06-04gitignore: remove traces of source4/libcli/auth.Günther Deschner1-1/+0
This makes it possible clean up a master checkout with git clean -x -f -d and build samba4 afterwards. Guenther
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-04nsstest: Relicense header file to LGPLv3+Kai Blin1-8/+12
2009-06-04Add NTLMSSP SPNEGO to smb2 auth. Tested with Win7.Jeremy Allison3-9/+75
Jeremy.
2009-06-04Increase tevent version for tevent_req_notify_callback()Volker Lendecke2-2/+2
2009-06-04Add tevent_req_notify_callbackVolker Lendecke2-4/+13
This is necessary for requests that have multiple results. Examples would be SMBEcho and ldap_search.
2009-06-04nss_wrapper: call the nwrap_files_*() from nwrap_files_*_r()Stefan Metzmacher1-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-04Only err on readability if writev_send was explicitly asked to do soVolker Lendecke1-1/+1
A socket might be readable for other reasons
2009-06-04nss_wrapper: more coherence tests for group membership.Günther Deschner1-4/+58
Guenther
2009-06-04nss_wrapper: add coherency tests for get{gr,pw}{nam,id}.Günther Deschner1-11/+75
Guenther
2009-06-04nss_wrapper: refactor test_nwrap_membership_user() in testsuite.Günther Deschner1-14/+24
Guenther
2009-06-04nss_wrapper: make full talloced copies of struct passwd and group in testsuite.Günther Deschner1-5/+37
Guenther
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-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