summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:torture:smb2: fix segfault on error condition in the durable-open.reopen3 ↵Michael Adam2013-02-181-5/+7
| | | | | | | test Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: fix segfault on error condition in the ↵Michael Adam2013-02-181-5/+7
| | | | | | | durable-open.reopen2a test Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2: fix segfault on error condition in durable-open.reopen2 testMichael Adam2013-02-181-5/+7
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4:torture:smb2:durable: make test functions staticMichael Adam2013-02-181-40/+40
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4:torture: add a durable-open-disconnect test (suite)Michael Adam2013-02-183-0/+65
| | | | | | | this opens a durable, disconnects it and exits Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: use smbXsrv_open_close() instead of smbXsrv_open_update()Stefan Metzmacher2013-02-181-1/+11
| | | | | | | | This makes sure we store the correct disconnect_time for disconnected durable handles. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* srv_epmapper.c: Fix typo.Karolin Seeger2013-02-181-5/+5
| | | | | | | | | priviledge -> privilege Signed-off-by: Karolin Seeger <kseeger@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Feb 18 13:57:40 CET 2013 on sn-devel-104
* wb_samba3_cmd.c: Fix typo in comment.Karolin Seeger2013-02-181-1/+1
| | | | | | redundent -> redundant Signed-off-by: Karolin Seeger <kseeger@samba.org>
* brlock_tdb.c: Fix typo in comment.Karolin Seeger2013-02-181-1/+1
| | | | | | redundent -> redundant Signed-off-by: Karolin Seeger <kseeger@samba.org>
* srv_netlog_nt.c: Fix typo in comment.Karolin Seeger2013-02-181-1/+1
| | | | | | redundent -> redundant Signed-off-by: Karolin Seeger <kseeger@samba.org>
* brlock.c: Fix typo in comment.Karolin Seeger2013-02-181-1/+1
| | | | | | redundent -> redundant Signed-off-by: Karolin Seeger <kseeger@samba.org>
* vfs_gpfs: Fix typos in comments.Karolin Seeger2013-02-181-2/+2
| | | | Signed-off-by: Karolin Seeger <kseeger@samba.org>
* fault.c: Fix typo in comment.Karolin Seeger2013-02-181-1/+1
| | | | | | redundent -> redundant Signed-off-by: Karolin Seeger <kseeger@samba.org>
* docs: Fix typo.Karolin Seeger2013-02-182-4/+4
| | | | Signed-off-by: Karolin Seeger <kseeger@samba.org>
* s4-nbt: Ensure source4/ nbt client and server honour 'disable netbios'Andrew Bartlett2013-02-172-2/+11
| | | | | | | Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun Feb 17 11:25:34 CET 2013 on sn-devel-104
* Fallback to the internal resolver on EAI_FAIL.Landon Fuller2013-02-171-1/+3
| | | | | | | | | | | | | | | | | On Linux, non-RFC 1034-complaint names (such as gc._msdsc.example.org) will result in the resolver returning the non-POSIX EAI_NODATA. In that case, the case statement here would fall back on the internal resolver, allowing resolution to complete successfully. On FreeBSD, the libc resolver uses the same validation code, but the POSIX result of EAI_FAIL is returned instead of EAI_NODATA. Since there was no case for this error code, no fallback to the internal resolver would occur. This led to replication failing on FreeBSD. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun Feb 17 07:06:36 CET 2013 on sn-devel-104
* tdb: Fix a typoVolker Lendecke2013-02-161-1/+1
| | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Simo Sorce <idra@samba.org> Autobuild-Date(master): Sat Feb 16 17:13:32 CET 2013 on sn-devel-104
* Fix the maxfids test so that it does not fork lots of processes and so that ↵Richard Sharpe2013-02-152-19/+5
| | | | | | | | | | it works for all cases of maxfids. Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Feb 15 07:09:59 CET 2013 on sn-devel-104
* tevent: Remove the previous "standard" tevent backend implementation.Jeremy Allison2013-02-141-556/+1
| | | | | | | | | | | This was a horrible hybrid of duplicated epoll and select() code. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Feb 14 22:40:30 CET 2013 on sn-devel-104
* tevent: Add in the new implementation of "standard" tevent backend.Jeremy Allison2013-02-141-6/+180
| | | | | | | | | Falls back cleanly from epoll -> poll, or uses poll if epoll not available. Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tevent: Add a private function tevent_poll_event_add_fd_internal().Jeremy Allison2013-02-142-0/+19
| | | | | | | | Not yet used, but will be called by the "standard" fallback from epoll -> poll backends. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tevent: make use of tevent_find_ops_byname() in tevent_context_init_byname()Stefan Metzmacher2013-02-141-14/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tevent: make sure tevent_backend_init() only runs onceStefan Metzmacher2013-02-141-0/+8
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tevent: Add a utility function tevent_find_ops_byname().Jeremy Allison2013-02-142-0/+23
| | | | | | | | | Returns an event ops struct given a string name. Not yet used, but will be part of the new "standard" fallback code. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tevent: Add in the same tevent_re_initialise() fix Metze put in the ↵Jeremy Allison2013-02-143-0/+18
| | | | | | | | | | tevent_poll backend. We might be called during tevent_re_initialise() which means we need to free our old additional_data. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tevent: Add in some test code to allow the panic fallback path to be tested.Jeremy Allison2013-02-141-0/+18
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tevent: Plumb in the panic fallback code into the epoll_panic() runtime call.Jeremy Allison2013-02-141-3/+20
| | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tevent: Add an internal function tevent_epoll_set_panic_fallback().Jeremy Allison2013-02-142-0/+27
| | | | | | | | Can be set externally, allows us to fallback if epoll fails at runtime. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tevent: pass 'bool replay' to epoll_panic()Stefan Metzmacher2013-02-141-5/+6
| | | | | | | | | A fallback panic handler will need to know if there was an error while waiting for events (replay=true) or if the error happened on modify (replay=false). Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tevent: Ensure we return after every call to epoll_panic().Jeremy Allison2013-02-141-0/+2
| | | | | | | | Currently we can't return from this, but the new fallback code will change this. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* tevent: Preparing to fix "standard" backend fallback. Initialize standard ↵Jeremy Allison2013-02-141-1/+1
| | | | | | | after epoll. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* docs: fix typo in serverrole.xmlSamba-JP oota2013-02-141-1/+1
| | | | | | | Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Thu Feb 14 18:43:57 CET 2013 on sn-devel-104
* waf: Make sure we link against samba-util.Andreas Schneider2013-02-141-0/+1
| | | | | | | | | | libcmdline-credentials.so needs samba_getpass() from libsamba-util.so, so we need to link against it. Reviewed-by: Andrew Bartlet <abartlet@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Feb 14 16:56:29 CET 2013 on sn-devel-104
* s3:idmap_autorid: fix freeing of non-talloced memory (uninitialized pointer) ↵Michael Adam2013-02-131-1/+1
| | | | | | | | | | (bug #9653) Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Feb 13 09:51:53 CET 2013 on sn-devel-104
* Add a herald with version string to smbtortureRichard Sharpe2013-02-131-0/+2
| | | | | | | | Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Richard Sharpe <sharpe@samba.org> Autobuild-Date(master): Wed Feb 13 08:03:21 CET 2013 on sn-devel-104
* Fix bug 9519 - Samba returns unexpected error on SMB posix open.Jeremy Allison2013-02-121-2/+9
| | | | | | | | | | | Explicitly ignore bare O_EXCL flags instead of returning INVALID_PARAMETER. That's what the Linux kernel does. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Jeff Layton <jlayton@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Feb 12 22:59:21 CET 2013 on sn-devel-104
* Fix some cut-and-paste and spelling in debug messagesGuenter Kukkukk2013-02-121-8/+8
| | | | | | | | | Signed-off-by: Guenter Kukkukk <kukks@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Feb 12 07:28:27 CET 2013 on sn-devel-104
* Fix bug #9642 - vfs_afsacl.c won't build.Jeremy Allison2013-02-111-1/+2
| | | | | | | | | | Add missing mem_ctx argument. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Mon Feb 11 20:24:00 CET 2013 on sn-devel-104
* Improve the configure tests for aio_suspend to get rid of warnings. Timur ↵Richard Sharpe2013-02-092-2/+2
| | | | | | | | | | | | provided the wscript method, I added the configure.in correction. Signed-off-by: Timur Bakeyev <timur@freebsd.org> Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Feb 9 09:24:06 CET 2013 on sn-devel-104
* s3: Make SMB2_GETINFO multi-volume aware.Ira Cooper2013-02-083-9/+20
| | | | | | | | | | | | Not all shares are a single volume. Some actually expose multiple volumes under a single share. In these cases showing the amount of space free as the space free at the base of the directory heirarchy is wrong. Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Feb 8 21:44:37 CET 2013 on sn-devel-104
* winbind: Fix an incompatible pointer type warningVolker Lendecke2013-02-081-1/+1
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Feb 8 15:27:51 CET 2013 on sn-devel-104
* dbwrap: Prevent transactions on non-persistent dbsVolker Lendecke2013-02-081-0/+5
| | | | | | | | | dbwrap_ctdb does not allow this anyway. This patch will avoid suprises when going non-clustered to clustered. Not everybody is developing against a clustered environment :-) Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* torture: We use transactions for CLEAR_IF_FIRST dbVolker Lendecke2013-02-081-1/+1
| | | | | | | This does not work in the ctdb case Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* ldb: Add more data test data for one level test casesMatthieu Patou2013-02-081-0/+14
| | | | | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Feb 8 06:46:40 CET 2013 on sn-devel-104
* ldb: Add tests for the python apiMatthieu Patou2013-02-081-0/+8
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* dsdb-operational: rework the loop for attribute removalMatthieu Patou2013-02-081-41/+92
| | | | | | | | Instead of doing ldb_in_list size(operational_remove) * (attrs_user + attr_searched) * number of entries times to get the list of attributes to remove we construct this list before the search and then use it for every entries. Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* ldb: Add more tests related to onelevel searchMatthieu Patou2013-02-082-0/+14
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* ldb: use strncmp instead of strcmp when comparing the val partMatthieu Patou2013-02-081-2/+2
| | | | | | | val part of a DN's component is DATA_BLOB and nothing insure that it will be finished by a '\0' Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* ldb: make test output more readableMatthieu Patou2013-02-081-4/+2
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* ldb-tdb: Document ltdb_index_add1 for more clarityMatthieu Patou2013-02-081-3/+20
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>