summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4:torture:smb2: rename the durable-open.basic1 test to durable-open.open1 ↵Michael Adam2011-11-011-14/+14
| | | | for clarity
* tdb2: use HAVE_LIBREPLACE instead of _SAMBA_BUILD_.Rusty Russell2011-11-013-5/+5
| | | | | | | | | | | This is what lib/tdb2 really wants: to know if it should use normal headers or replace.h. It currently uses _SAMBA_BUILD_, which is wrong for ldb, for example. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue Nov 1 03:19:58 CET 2011 on sn-devel-104
* s4:torture/smb2: fix compound.invalid2 against windowsStefan Metzmacher2011-10-311-2/+2
| | | | | | | | | Tested against w2k8r2 with signing and win8pre0 without signing. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 31 21:40:25 CET 2011 on sn-devel-104
* s4:smb_server/smb2: correctly implement related compound requestsStefan Metzmacher2011-10-312-0/+15
| | | | | | We need to remember the session id and tree id. metze
* s4:smb_server/smb2: always grant the requested creditsStefan Metzmacher2011-10-313-20/+20
| | | | | | At least one credit, if the client asked for 0. metze
* s4:smb_server/smb2: echo back more header fieldsStefan Metzmacher2011-10-311-3/+7
| | | | metze
* s3:smb2_server: FLAG_CHAINED means we always use the last session_id and tidStefan Metzmacher2011-10-312-33/+20
| | | | metze
* s3:smb2_server: don't reset the tid and session id in the out hdr of ↵Stefan Metzmacher2011-10-311-14/+0
| | | | | | | | | compound requests Windows also leaves tid (0xFFFFFFFF) and session id (0xFFFFFFFFFFFFFFFF) as the client requested them. metze
* s3:smb2_server: echo the SMB2_HDR_CREDIT_CHARGE and SMB2_HDR_SIGNATURE fieldsStefan Metzmacher2011-10-311-2/+4
| | | | | | Windows just echos back the given values by default. metze
* s4-torture: smb2 copychunk data integrity checksDavid Disseldorp2011-10-311-0/+72
| | | | | | | | | | Perform simple integrity checks on destination file data following a successful copychunk request. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Mon Oct 31 19:28:20 CET 2011 on sn-devel-104
* s4-torture: add smb2 copychunk ioctl testsDavid Disseldorp2011-10-311-7/+285
| | | | | | | | | | | | test_ioctl_copy_chunk_multi: Issue a copychunk request with multiple chunk descriptors. test_ioctl_copy_chunk_over: Issue a copychunk request with overlapping chunks. test_ioctl_copy_chunk_append: append data as part of a copy chunk test_ioctl_copy_chunk_tiny: issue request with sub FS block size chunk descriptors. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: split common copychunk ioctl test code into helpersDavid Disseldorp2011-10-311-53/+112
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: Add tests for the smb2 copychunk ioctlDavid Disseldorp2011-10-314-3/+179
| | | | | | Add idls for parsing of copychunk ioctl args. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* idl: add copychunk and request_resume_key ioctl definitionsDavid Disseldorp2011-10-311-0/+33
|
* s3:smbd: also the parent smbd needs FLAG_MSG_PRINT_GENERAL (bug #8553)Stefan Metzmacher2011-10-311-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 31 17:37:34 CET 2011 on sn-devel-104
* s4:nbt_server/dgram: higher debug level for NBT_MAILSLOT_NETLOGON requestsStefan Metzmacher2011-10-311-1/+1
| | | | | | This matches the log level of the CLDAP case. metze
* s4:lib/socket: don't pass -1 to close()Stefan Metzmacher2011-10-311-1/+4
| | | | metze
* s3: fix typo in net ads join outputDavid Disseldorp2011-10-311-1/+1
| | | | | | | Space missing from "DNS update in aclustered setup". Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Mon Oct 31 16:01:35 CET 2011 on sn-devel-104
* s3: Fix some nonempty blank linesVolker Lendecke2011-10-311-5/+5
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Oct 31 14:25:14 CET 2011 on sn-devel-104
* s3: Fix a commentVolker Lendecke2011-10-311-1/+4
|
* s3: Remove some leftovers of old ctdb tdb2 codeVolker Lendecke2011-10-311-16/+1
|
* s4:torture:smb2: add durable_open_basic2 test: test durable open against all ↵Michael Adam2011-10-301-0/+146
| | | | | | | lease types Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sun Oct 30 20:17:16 CET 2011 on sn-devel-104
* s4:torture:smb2: add a new durable_open_basic1 test: test open against all ↵Michael Adam2011-10-301-0/+111
| | | | oplock types
* s4:torture:smb2: check wheter open was durable in existing testsMichael Adam2011-10-301-0/+8
|
* s4:libcli: in smb2_create_recv, map SMB2_CREATE_DURABLE_HANDLE_RESPONSE ↵Michael Adam2011-10-301-0/+7
| | | | buffer smb2_create.out.durable_open
* source4/libcli: add bool durable_open to smb2_create.out.Michael Adam2011-10-301-0/+1
| | | | | The server gives indication whether the open was durable we should record this.
* s4:torture: test also break semantics between batch-oplocks and leasesMichael Adam2011-10-301-1/+1
| | | | | | This must have been a typo (listing EXCLUSIVE twice). But BATCH and EXCLUSIVE oplocks apparently share the same break semantics with respect to leases.
* 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
|