summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3/docs: Fix typo.Karolin Seeger2009-06-051-2/+2
| | | | Karolin
* s3:smbd: add missing return statements to the SMB2 write error casesStefan Metzmacher2009-06-051-0/+2
| | | | metze
* s3:smbd: add missing return statements to the SMB2 read error casesStefan Metzmacher2009-06-051-0/+2
| | | | metze
* nss_wrapper: rename test_nwrap_env to test_nwrap_enumeration in testsuite.Günther Deschner2009-06-051-2/+2
| | | | Guenther
* nss_wrapper: add more coherency checks for user and group enumeration.Günther Deschner2009-06-051-0/+8
| | | | Guenther
* s3:smbd: split smbd_smb2_write() into tevent_req based *_send()/_recv() ↵Stefan Metzmacher2009-06-051-47/+129
| | | | | | functions metze
* s3:smbd: split smbd_smb2_read() into tevent_req based *_send()/_recv() functionsStefan Metzmacher2009-06-051-61/+148
| | | | metze
* s3:smbd: make smbd_server_connection_terminate() a macroStefan Metzmacher2009-06-052-3/+11
| | | | metze
* s3:smbd: implement smbd_smb2_request_error/done() as macros on top of the ↵Stefan Metzmacher2009-06-054-30/+23
| | | | | | _ex() function metze
* s3:smbd: add support for printers to SMB2 CreateStefan Metzmacher2009-06-051-38/+41
| | | | | | | This is not tested, but the code looks like the for SMB1, so it's likely to work:-) metze
* source3/torture/vfstest.c(process_file): fixed file descriptor leak.Slava Semushin2009-06-051-0/+4
| | | | | Found by cppcheck: [./source3/torture/vfstest.c:400]: (error) Resource leak: file
* Fix a couple of warnings in log2pcaphex.cVolker Lendecke2009-06-051-8/+12
|
* Fix bug 6392: Exit log2pcaphex if a requested output file can't be openedVolker Lendecke2009-06-051-0/+1
| | | | Thanks to Slava Semushin <php-coder@altlinux.org> for reporting!
* fixed handling of change notify buffer overrunsAndrew Tridgell2009-06-051-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.
* pidl Fix samba4.pidl.typelist test after addition of 'double'Andrew Bartlett2009-06-051-0/+1
|
* clikrb5: Prefer krb5_free_keytab_entry_contents to krb5_kt_free_entry.Jelmer Vernooij2009-06-041-3/+8
| | | | | Both functions exist in MIT Kerberos >= 1.7, but only krb5_free_keytab_entry_contents has a prototype.
* s3:smbd: ignore NTCREATEX_OPTIONS_SYNC_ALERT and ↵Stefan Metzmacher2009-06-041-0/+4
| | | | | | | | NTCREATEX_OPTIONS_ASYNC_ALERT for SMB2 Create This should make the Windows Explorer happier. metze
* s3:smbd: call set_current_service() when a SMB2 tcon will be usedStefan Metzmacher2009-06-041-0/+5
| | | | metze
* s3:smbd: fix potential fsp leak if print_fsp_open() failsStefan Metzmacher2009-06-041-0/+1
| | | | metze
* libwbclient: Attempt to fix build on AIXKai Blin2009-06-047-0/+7
|
* s3: map NetBSD's errno on posix open calls for symlinksBjörn Jacke2009-06-041-0/+3
| | | | | This is well undocumented but NetBSD returns EFTYPE on O_NOFOLLOW open calls on symlinks.
* Change smbd_smb2_request_error() to add a __location__.Jeremy Allison2009-06-043-10/+13
| | | | | This allows quick identification of smb2 parsing errors. Jeremy.
* nss_wrapper: remove getgrouplist from nwrap_ops table.Günther Deschner2009-06-041-72/+64
| | | | Guenther
* gitignore: remove traces of source4/libcli/auth.Günther Deschner2009-06-041-1/+0
| | | | | | | This makes it possible clean up a master checkout with git clean -x -f -d and build samba4 afterwards. Guenther
* s4-smbtorture: fix comment in RPC-SAMR-LARGE-DC test.Günther Deschner2009-06-041-3/+3
| | | | | | Andrew, I think you wanted to print this instead. Guenther
* nsstest: Relicense header file to LGPLv3+Kai Blin2009-06-041-8/+12
|
* Add NTLMSSP SPNEGO to smb2 auth. Tested with Win7.Jeremy Allison2009-06-043-9/+75
| | | | Jeremy.
* Increase tevent version for tevent_req_notify_callback()Volker Lendecke2009-06-042-2/+2
|
* Add tevent_req_notify_callbackVolker Lendecke2009-06-042-4/+13
| | | | | This is necessary for requests that have multiple results. Examples would be SMBEcho and ldap_search.
* nss_wrapper: call the nwrap_files_*() from nwrap_files_*_r()Stefan Metzmacher2009-06-041-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
* Only err on readability if writev_send was explicitly asked to do soVolker Lendecke2009-06-041-1/+1
| | | | A socket might be readable for other reasons
* 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