summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "s4-build Change default paths and --with flags for a 4.0 release"Stefan Metzmacher2011-07-132-21/+59
| | | | This reverts commit edd3e8b03aa0bca85d4a9a62b35471e76a1f9390.
* Revert "build: Put lockdir and cachedir in FHS-like locations by default"Stefan Metzmacher2011-07-131-2/+2
| | | | This reverts commit 6c9a78074a429773cefd1a3c798b7e3ad7d4c325.
* ldb-tdb: Introduce a flag on ltdb_add_internal to indicate whether unique ↵Matthieu Patou2011-07-131-4/+11
| | | | | | | | | | | | | | | | | | | | | | value test should be performed or not The function ltdb_add_internal is called either from ltdb_add or ltdb_rename. In case of add we enforce the unique test (unless it has been relaxed by a upper module through the LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECK flag), but for rename as it is translated by a delete + a add we relax the test as we can have one or more attribute which are supposed to be single valued but that are not (ie. when we have a couple of deleted value on a single valued attribute), we have already done the tests on insert so make the assumption that the values are OK. Without this patch deleting a subnet that has been affected to more than one site fails as the delete is in fact a rename to GUID\0DEL ... with an attribute siteObject that has 1 active link value and 1 inactive link value Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Jul 13 02:29:20 CEST 2011 on sn-devel-104
* s3:libsmb: remove unused cli_smb_inbuf()Stefan Metzmacher2011-07-132-8/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 13 01:19:51 CEST 2011 on sn-devel-104
* s3: dbwrap_ctdb.c: fix #ifdef CTDB_CONTROL_SCHEDULE_FOR_DELETION issue (bug ↵Björn Baumbach2011-07-121-2/+2
| | | | | | | | | | | | | #8303) Check for HAVE_CTDB_CONTROL_SCHEDULE_FOR_DELETION_DECL instead of CTDB_CONTROL_SCHEDULE_FOR_DELETION, which is an enum member and not a define. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 18:56:30 CEST 2011 on sn-devel-104
* s4:libcli/raw: s/SMBchkpth/SMBcheckpathStefan Metzmacher2011-07-123-3/+3
| | | | metze
* s4:winsdb: place wins.ldb in "state dir" instead of "lock dir"Stefan Metzmacher2011-07-121-1/+1
| | | | | | | | | It's not only a cache as we also support static records. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 16:16:45 CEST 2011 on sn-devel-104
* selftest/Samba4: use "state dir" for persistent filesStefan Metzmacher2011-07-121-7/+7
| | | | metze
* s4:provision: place the sysvol share under "state dir" instead of "lock dir"Stefan Metzmacher2011-07-121-1/+1
| | | | metze
* selftest/Samba4: setup "state dir" and "cache dir"Stefan Metzmacher2011-07-122-0/+22
| | | | metze
* s4:param: add "state dir" and "cache dir" optionsStefan Metzmacher2011-07-127-1/+93
| | | | metze
* s3:libsmb: remove unused cli_oplock_handler()Stefan Metzmacher2011-07-124-54/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 10:53:52 CEST 2011 on sn-devel-104
* s4:libcli/raw: remove SMBkeepaliveStefan Metzmacher2011-07-121-1/+0
| | | | metze
* s4:smb_server: s/SMBkeepalive/NBSSkeepaliveStefan Metzmacher2011-07-121-3/+3
| | | | metze
* s3:include: remove SMBkeepaliveStefan Metzmacher2011-07-121-1/+0
| | | | metze
* s3:smbd: s/SMBkeepalive/NBSSkeepaliveStefan Metzmacher2011-07-122-12/+12
| | | | metze
* s3:libsmb: s/SMBkeepalive/NBSSkeepaliveStefan Metzmacher2011-07-121-1/+1
| | | | metze
* s3:lib: s/SMBkeepalive/NBSSkeepaliveStefan Metzmacher2011-07-121-2/+2
| | | | metze
* libcli/smb: add NBSS message typesStefan Metzmacher2011-07-121-0/+10
| | | | metze
* s3:libsmb: remove unused cli->privilegesStefan Metzmacher2011-07-122-2/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 09:30:49 CEST 2011 on sn-devel-104
* s3:smbd: use PROTOCOL_SMB2_02 instead PROTOCOL_SMB2Stefan Metzmacher2011-07-123-3/+3
| | | | metze
* s3:loadparm: use PROTOCOL_SMB2_02 instead of PROTOCOL_SMB2Stefan Metzmacher2011-07-121-2/+3
| | | | metze
* libcli/smb: add PROTOCOL_SMB2_02 constantStefan Metzmacher2011-07-121-1/+2
| | | | metze
* s3:smb2_create: use smbd_calculate_access_mask() instead of ↵Stefan Metzmacher2011-07-111-1/+6
| | | | | | | | | smbd_check_open_rights() metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 11 22:45:01 CEST 2011 on sn-devel-104
* s3:smb2_tcon: return the correct maximal_access on the shareStefan Metzmacher2011-07-111-1/+1
| | | | metze
* s3:smbd: return the real share access mask in the SMBtconX responseStefan Metzmacher2011-07-111-3/+1
| | | | metze
* s3:smbd: use smbd_calculate_access_mask() also for fake_filesStefan Metzmacher2011-07-111-0/+13
| | | | metze
* s3:smbd: check the share level access mask in smbd_calculate_access_mask()Stefan Metzmacher2011-07-111-0/+17
| | | | | | | | | I think we should reject invalid access early, before we might create new files. Also smbd_check_open_rights() is only called if the file existed. metze
* s3:smbd: make smbd_calculate_access_mask() non-staticStefan Metzmacher2011-07-112-14/+20
| | | | metze
* s3:smbd/msdfs: let create_conn_struct() check the share security descriptorStefan Metzmacher2011-07-111-0/+30
| | | | metze
* s3:winbindd_cm: make use of cli->src_ss instead of calling getsockname()Stefan Metzmacher2011-07-111-2/+8
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 11 19:31:14 CEST 2011 on sn-devel-104
* s3:winbindd_cm: make use of cli->dest_ss instead calling getpeername()Stefan Metzmacher2011-07-111-1/+7
| | | | metze
* s3:winbindd_cm: make use of cli_state_disconnect()Stefan Metzmacher2011-07-111-4/+2
| | | | metze
* s3:winbindd_cm: make use of cli_state_is_connected()Stefan Metzmacher2011-07-111-9/+6
| | | | metze
* s3:auth_server: use cli_echo() to check if the server is aliveStefan Metzmacher2011-07-111-5/+10
| | | | | | | This works over port 139 and also 445. send_keepalive() would only work on port 139. metze
* s3:auth_server: make use of cli_state_is_connected()Stefan Metzmacher2011-07-111-3/+3
| | | | metze
* s3:client: simplify readline_callback() to only use cli_echo()Stefan Metzmacher2011-07-111-54/+9
| | | | | | | cli_echo() already swallows NBT keepalive messages, so there's no need to filter them in the 'smbclient' layer. metze
* s3:libsmbclient: use cli_state_is_connected() in SMBC_check_server()Stefan Metzmacher2011-07-111-4/+4
| | | | metze
* s3:libsmbclient: don't log the lowlevel fd in smbc_free_context()Stefan Metzmacher2011-07-111-2/+2
| | | | metze
* s3:libsmb: add cli_state_disconnect()Stefan Metzmacher2011-07-112-0/+8
| | | | metze
* s3:libsmb: make use of cli_state_is_connected()Stefan Metzmacher2011-07-111-13/+9
| | | | metze
* s3:libsmb: remove unused cli_set_port()Stefan Metzmacher2011-07-114-13/+0
| | | | metze
* s3:libsmb: also remember the local socket address after connectStefan Metzmacher2011-07-112-0/+9
| | | | metze
* s3:smb2cli_base: add my copyrightStefan Metzmacher2011-07-111-0/+1
| | | | metze
* s3-torture: run_locktest2(): replace check_error() with check_both_error()Björn Baumbach2011-07-111-10/+14
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture: run_locktest2(): replace cli_lock() with cli_lock32()Björn Baumbach2011-07-111-20/+35
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture: run_locktest1(): replace cli_lock() with cli_lock32()Björn Baumbach2011-07-111-17/+25
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture: locktest2: replace cli_lock() with cli_lock32()Björn Baumbach2011-07-111-1/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture: let wait_lock() use cli_lock32() instead of cli_lock()Björn Baumbach2011-07-111-3/+13
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: let cli_lock64 return NTSTATUS instead of boolBjörn Baumbach2011-07-113-16/+15
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 11 12:48:38 CEST 2011 on sn-devel-104