summaryrefslogtreecommitdiffstats
path: root/source4
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.
* The xcopy test is used in unusual ways (via a different uid). Ensure we can ↵Jeremy Allison2011-10-281-9/+9
| | | | cope with this.
* lib/util Rename samba_modules_load -> samba_module_init_fns_for_subsystemAndrew Bartlett2011-10-287-7/+7
| | | | | | | 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-2811-18/+18
| | | | | | | 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-2812-19/+19
| | | | | | | 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-2817-17/+17
| | | | | | | 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-287-7/+7
| | | | | | | 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-2811-18/+18
| | | | | | | 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-2812-19/+19
| | | | | | 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.
* selftest: Have only one set of selftest knownfail and skip filesAndrew Bartlett2011-10-284-220/+0
| | | | | | | | | | | 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
* 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
|
* s4:wscript - install the two missing files "dlz_bind9.so" and "named.conf.dlz"Geza Gemes2011-10-272-2/+4
| | | | | | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 27 20:27:32 CEST 2011 on sn-devel-104
* s4:repl_meta_data LDB module - don't intercept the partition LDB module ↵Matthias Dieter Wallnöfer2011-10-271-17/+18
| | | | | | referrals Reviewed-by: abartlet
* s4:repl_meta_data LDB module - rename operation - do not overwrite error ↵Matthias Dieter Wallnöfer2011-10-271-3/+1
| | | | | | | | messages "ldb_error" could overwrite possibly useful error messages. Reviewed-by: abartlet
* s4:repl_meta_data LDB module - remove pointless debug messagesMatthias Dieter Wallnöfer2011-10-271-4/+0
| | | | | | These are displayed when an object just doesn't exist! Reviewed-by: abartlet
* s4:repl_meta_data LDB module - always return the original LDB result codes ↵Matthias Dieter Wallnöfer2011-10-271-5/+12
| | | | | | | | | on failure And add "ldb_operr()" before the "return ret" to point out the position where it failed (for "add_time_element" and "add_uint64_element") Reworked after a suggestion by abartlet.
* s4:repl_meta_data LDB module - "dsdb_search_module_dn" already checks if ↵Matthias Dieter Wallnöfer2011-10-271-4/+4
| | | | | | | | | | len(res) == 1 No need to perform an additional check here. As a return value we should always give back the original error code and not generate a new one (to let the caller know what is going on). Reviewed-by: abartlet
* s4:ldap.py - fix up the dSHeuristics test to check for the right behaviourMatthias Dieter Wallnöfer2011-10-271-15/+27
| | | | Reviewed-by: abartlet
* s4:objectclass_attrs LDB module - implement the dSHeuristics length checks ↵Matthias Dieter Wallnöfer2011-10-271-5/+37
| | | | | | | | correctly Consider bug #8489 Reviewed-by: abartlet
* s4:ldap.py - we test the creation of secrets already in the "systemOnly" ↵Matthias Dieter Wallnöfer2011-10-271-9/+0
| | | | | | testcase Reviewed-by: abartlet
* s4:ldap.py - enhance and fix up the object class testMatthias Dieter Wallnöfer2011-10-271-6/+95
| | | | | | Also address the problem described in bug #8486. Reviewed-by: abartlet
* s4:objectclass LDB module - objectclass modify op. - remove superflous ↵Matthias Dieter Wallnöfer2011-10-271-8/+4
| | | | | | | | | "talloc_strdup" We are adding strings embedded in the schema structure which is basically global and lives longer than the request - hence no duplication needed. Reviewed-by: abartlet
* s4:objectclass LDB module - objectclass modify operationsMatthias Dieter Wallnöfer2011-10-271-95/+32
| | | | | | | According to bug #8486 the modification to direct related structural object classes is possible (equal, child, parent). Reviewed-by: abartlet
* s4:objectclass LDB module - forbid to add unrelated objectclassesMatthias Dieter Wallnöfer2011-10-271-0/+61
| | | | | | | E.g. unsatisfied abstract objectclasses, additional top-most structural classes Reviewed-by: abartlet
* s4:objectclass LDB module - "objectclass_add" - small optimisationMatthias Dieter Wallnöfer2011-10-271-4/+2
| | | | | | This saves us from doing one "ldb_msg_find_element". Reviewed-by: abartlet
* s4:objectclass LDB module - "check_rodc_ntdsdsa_add"Matthias Dieter Wallnöfer2011-10-271-1/+1
| | | | | | For convention use "ldb_attr_cmp()". Reviewed-by: abartlet
* s4:objectclass LDB module - update copyrightMatthias Dieter Wallnöfer2011-10-271-1/+1
| | | | Reviewed-by: abartlet
* s4:password_hash LDB module - fix compiler warning due to unsatisfied "switch"Matthias Dieter Wallnöfer2011-10-271-0/+3
| | | | Bail out on other LDB request types (only add and modify allowed).
* s4:ldap.py - fix up the UTF8 testsMatthias Dieter Wallnöfer2011-10-271-7/+8
| | | | Reviewed-by: abartlet
* s4:ldap.py - reactivate some assertions in "test_all"Matthias Dieter Wallnöfer2011-10-271-2/+2
| | | | | | There should always be one result on both s4 and Windows. Reviewed-by: abartlet
* s4:torture/ldap/basic.c - fix a typoMatthias Dieter Wallnöfer2011-10-271-2/+2
| | | | Reviewed-by: abartlet
* s4-torture: Add a user creation check.Andreas Schneider2011-10-271-0/+288
| | | | | | | | | | This adds a patch which creates a non-privileged user and then tries to create a new user as the non-privileged user. Pretty simple test but it found #8509. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Oct 27 18:51:14 CEST 2011 on sn-devel-104
* s4-torture: Add a samr privilege check.Andreas Schneider2011-10-273-1/+329
| | | | | This is the first part which checks if a deleted user is propagated correctly to all daemons and caches with user information are emtpy.
* s4-torture: Add torture_delete_testuser().Andreas Schneider2011-10-271-0/+14
|
* s4-torture: Add domain_handle to test_join struct.Andreas Schneider2011-10-271-4/+4
|
* s3-build: Add .clang_complete.Andreas Schneider2011-10-271-0/+10
|
* replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider2011-10-273-7/+3
|
* Include uid_wrapper correctly.Andreas Schneider2011-10-272-19/+1
|
* libcli/smb: merge NEGOTIATE_SECURITY_* flags to smb_constants.hStefan Metzmacher2011-10-261-6/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 26 11:27:12 CEST 2011 on sn-devel-104
* s4:torture:smb2: fix broken indentation/formatting in torture_smb2_connection()Michael Adam2011-10-261-8/+11
| | | | this was not readable well
* torture: Remove unused smbiconvAndrew Bartlett2011-10-251-236/+0
| | | | | | | | | | | | smbiconv is not used in any test script, and has only had changes since being introduced by Jelmer to keep it building. It is also not installed on the system. I have also checked with Jelmer, who approved the removal. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:libcli: rename smb_signing.h to smb_raw_signing.h in the install directoryStefan Metzmacher2011-10-251-1/+1
| | | | metze
* idl: Improve MS-PAC IDLSimo Sorce2011-10-244-16/+20
| | | | | | | | | | Change some misleading variable names to reflect the actual function. Add missing field name/types previously marked as unkown. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 24 19:19:28 CEST 2011 on sn-devel-104
* libcli/smb: merge LOCKING_ANDX_* and OPLOCK_* defines to smb_constants.hStefan Metzmacher2011-10-241-34/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 17:46:47 CEST 2011 on sn-devel-104