summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4:torture:smb2: adapt comment in durable-open.lease test according to ↵Michael Adam2011-10-301-0/+3
| | | | current information.
* s4:torture:smb2: fix the durable_open test to succeed against w7 and w2k8r2Michael Adam2011-10-301-1/+1
| | | | | | | | | | | When a first client that has a durable open with share read/write/delete and a read-write-handle lease on the file disconnects, a second client will succeed in opening the file and the new client will be given a RWH-lease if requested, not only a RH-lease, as was previously checked in the test. This might have been a bug in win7 build 7000, which is what the comments in the test give as reference.
* Fix bug #8548 - winbind_samlogon_retry_loop ignores logon_parameters flags.Jeremy Allison2011-10-281-2/+2
| | | | | | | Fix confirmed by reporter. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 28 23:04:47 CEST 2011 on sn-devel-104
* The xcopy test is used in unusual ways (via a different uid). Ensure we can ↵Jeremy Allison2011-10-283-9/+21
| | | | cope with this.
* Remove the order dependency in parent_override_delete(), just check for & ↵Jeremy Allison2011-10-281-2/+2
| | | | not ==.
* The xcopy test requires "dos filemode=yes" as it opens with WRITE_OWNER.Jeremy Allison2011-10-281-0/+1
|
* Remove the mkdir and open functions from the ACL modules - main code paths ↵Jeremy Allison2011-10-283-138/+6
| | | | now handle this.
* Remove unused "struct security_descriptor" parameter from check_parent_access()Jeremy Allison2011-10-281-8/+2
|
* Finally do all the open checks inside open_file(). Checks insideJeremy Allison2011-10-281-0/+30
| | | | vfs_acl_common can now be removed.
* Simplify smbd_check_open_rights() and move all the special casing inside it.Jeremy Allison2011-10-281-101/+72
|
* Move parent_override_delete() to before I need to use it.Jeremy Allison2011-10-281-19/+19
|
* Make smbd_check_open_rights() static.Jeremy Allison2011-10-282-5/+1
|
* s3-net: Make sure to always re-use the "good" dc for the DNS updates as well.Günther Deschner2011-10-281-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 28 19:13:49 CEST 2011 on sn-devel-104
* lib/util Add ABI to the samba-module libraryAndrew Bartlett2011-10-282-0/+4
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Oct 28 14:42:43 CEST 2011 on sn-devel-104
* lib/util Rename samba_modules_load -> samba_module_init_fns_for_subsystemAndrew Bartlett2011-10-2810-10/+10
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename samba_init_module -> samba_module_initAndrew Bartlett2011-10-2813-15/+15
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename samba_init_module_fns_run -> samba_module_init_fns_runAndrew Bartlett2011-10-2813-21/+21
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename samba_init_module_fn -> samba_module_init_fnAndrew Bartlett2011-10-2817-37/+37
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Split samba-modules library into public and private partsAndrew Bartlett2011-10-2828-74/+150
| | | | | | | This will allow OpenChange to get at the symbols it needs, without exposing any more of this as a public API than we must. Andrew Bartlett
* lib/util Rename load_samba_modules -> samba_modules_loadAndrew Bartlett2011-10-2810-10/+10
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename run_init_functions -> samba_init_module_fns_runAndrew Bartlett2011-10-2814-22/+22
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* lib/util Rename init_module_fn to samba_init_module_fnAndrew Bartlett2011-10-2815-36/+36
| | | | | | This prepares for making the samba_module.h header public again, for OpenChange. I am keen to avoid too much API namespace pollution if we can.
* gensec: Add parinoia about integer wrappingAndrew Bartlett2011-10-281-0/+7
|
* s3-selftest Add all the LOCAL-* smbtorture tests to make testAndrew Bartlett2011-10-283-2/+24
| | | | | | | | The extra knownfail and skip entries are for tests the currently do not pass or hang. We need to work out why this happens, and fix the test or the test invocation. Andrew Bartlett
* s3-build: Remove libbigballofmud.soAndrew Bartlett2011-10-281-30/+0
| | | | | | | | | | | | | | | | | | | | | | | We no longer need this, as all the small test binaries have either been converted rolled into python bindings and python-subunit tests, or have been moved into smbtorture. -------------- / \ / REST \ / IN \ / PEACE \ / \ | libbigballofmud.so | | | | | | 26 October | | | | 2011 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______ Andrew Bartlett
* s3-torture Remove t_stringoverflow as fstrcpy now uses strlcpyAndrew Bartlett2011-10-282-27/+0
| | | | | | | | Because we no longer use safe_strcpy() internally, we no longer have a mode where we write to the end of the buffer in developer mode, and so there isn't anything for this test to test. Andrew Bartlett
* s3-selftest: Add LOCAL-sprintf_appendAndrew Bartlett2011-10-281-1/+1
|
* s3-torture run t_strappend tests as LOCAL-sprintf_appendAndrew Bartlett2011-10-285-11/+15
|
* s3-torture Run t_strappend test for less timeAndrew Bartlett2011-10-281-1/+1
|
* s3-torture Fix t_strappend testAndrew Bartlett2011-10-281-3/+3
|
* selftest: Have only one set of selftest knownfail and skip filesAndrew Bartlett2011-10-2810-76/+52
| | | | | | | | | | | Listing tests that are not ever proposed (eg samba4.* in the samba3 selftest) is not an error, so just combine the lists. This is being done because some folks trying to learn how our 'make test' works are having trouble following the distributed nature of the selftest system. Andrew Bartlett
* selftest: Remove --target option and the ability to run 'samba4 only' testsAndrew Bartlett2011-10-282-33/+16
| | | | | | | | | This simplifies the selftest system, and by default we always tested all of samba3 and samba4 in the waf build. This simply removes a rarely used option for testing only part of the system. The make test TESTS="^samba3" syntax remains unchanged, so no functionality is lost. Andrew Bartlett
* s3-torture remove unused t_push_ucs2.c t_strcmp.c t_strstr.cAndrew Bartlett2011-10-284-133/+0
| | | | | | | | These tests were incorportated into source4/scripting/python/samba/tests/strings.py with fa3e2fc8bb3e935c65b7043382cad1d649cb68a6. Andrew Bartlett
* s3-torture remove unused t_asn1.cAndrew Bartlett2011-10-281-65/+0
| | | | | | | This test was incorportated into lib/util/test/asn1_test.c with ede98c0e5190bf59461703629d5a4742ad8e044f Andrew Bartlett
* examples: rework wscript to use a loopAndrew Bartlett2011-10-281-84/+23
| | | | | | I think this format is more compact and easier to understand. Andrew Bartlett
* s3-passdb: use tevent_context in passdb.Günther Deschner2011-10-283-8/+9
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 28 13:09:47 CEST 2011 on sn-devel-104
* s3-smbldap: use tevent_context in smbldap.Günther Deschner2011-10-282-12/+13
| | | | Guenther
* Add systemd service files.Andreas Schneider2011-10-284-0/+44
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Oct 28 11:34:27 CEST 2011 on sn-devel-104
* s4:librpc/dcerpc_smb2: fix smb2_write_callback()Stefan Metzmacher2011-10-281-5/+9
| | | | | | | | | The should use smb2_write_recv() to get the result. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 28 09:55:48 CEST 2011 on sn-devel-104
* s4:librpc/dcerpc_smb: fix smb_write_callback()Stefan Metzmacher2011-10-281-5/+10
| | | | | | The should use smb_raw_write_recv() to get the result. metze
* s4:torture:smb2: avoid leaking tree connects up to the main function from ↵Michael Adam2011-10-281-0/+13
| | | | | | | | | | | | the durable_open test The tree connects are handed in from the calling wrapper. Those that are freed and reconnected inside the test function can not be freed in the wrapper and stick to the torture_context until this is released in the main function. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Oct 28 02:37:25 CEST 2011 on sn-devel-104
* s4:torture:smb2: fix a nasty double free error.Michael Adam2011-10-281-2/+10
| | | | This error manifested itself in sporadic "talloc_free with references" error.
* s4:torture:smb2: fix a commentMichael Adam2011-10-281-1/+1
|
* s4:torture:smb2: be leass leaky in wrap_simple_2smb2_test()Michael Adam2011-10-281-4/+9
|
* s3-ctdb: Fix ctdb_read_reqVolker Lendecke2011-10-271-23/+17
| | | | | | | | | If a complete request has come in already before we consumed it, the ctdb_packet_fd_read_sync will block indefinitely. So always try packet_handler first and only if that fails due to insufficient data, read from the socket. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Oct 27 22:12:05 CEST 2011 on sn-devel-104
* s3-ctdb: Add debug to ctdb_processes_existVolker Lendecke2011-10-271-0/+6
|
* s3: Use serverids_exist in parse_share_modesVolker Lendecke2011-10-271-1/+23
| | | | | | | This is the main reason for the preceding commits. We need to reduce the number of round-trips to ctdb when checking the locking record entries for existence. Using the plural version of process_exists gets the number of round-trips to ctdb for process_exists down to 1.
* s3: Add serverids_existVolker Lendecke2011-10-272-0/+39
|
* s3: Add processes_existVolker Lendecke2011-10-272-0/+68
|
* s3-ctdb: Make ctdbd_process_exists use ctdbd_processes_existVolker Lendecke2011-10-271-13/+8
| | | | Not strictly necessary, but more code exercise is good