summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:idmap_cache: improve debug messages in idmap_cache_find_sid2unixid()Michael Adam2012-05-181-5/+24
|
* s3: Revert the serverid changes, they need more workVolker Lendecke2012-05-1811-262/+46
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri May 18 13:12:14 CEST 2012 on sn-devel-104
* s4-torture: Improve torture test boilerplate, use torture_assert()Andrew Bartlett2012-05-1818-279/+93
| | | | | | | | | This ensures that if this fails, it is reported as a subunit error correctly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri May 18 09:35:13 CEST 2012 on sn-devel-104
* s4-torture: Always use torture_assert() to handle failuresAndrew Bartlett2012-05-181-9/+6
|
* s4-torture: provide correct torture failures for failure to connectAndrew Bartlett2012-05-181-11/+9
|
* build: Also look for iconv in /usr/local by defaultAndrew Bartlett2012-05-181-2/+2
| | | | | | | This should help the build find iconv on FreeBSD and similar systems, and make it possible to operate with 8-bit character sets. Andrew Bartlett
* Add include/lib folders from the commandlineThomas Nagy2012-05-182-1/+71
| | | | | | By using opt.add_option(..., match=['Checking for library iconv'], dest='iconvdir'), all configuration tests displaying 'Checking for library iconv' will get $(iconvdir)/lib and $(iconvdir)/include
* s4-torture: Fix rpc.samr.priv test to use torture_assert() macrosAndrew Bartlett2012-05-181-51/+16
|
* autobuild: Run ABI check on samba4-libs as well.Andrew Bartlett2012-05-181-5/+5
| | | | | | | Because this build is without the developer options (so as to check that we build without those) we do not do an ABI check by default. Andrew Bartlett
* build: Move generated files out of the normal build treeAndrew Bartlett2012-05-185-86/+96
| | | | | | This avoids some dual-build-system interactions. Andrew Bartlett
* build: Move generated version.h to a waf-invisible locationAndrew Bartlett2012-05-183-3/+3
| | | | | | | Generally, it is better if our generated header files for the autoconf build do not end up in places that the waf build can see. Andrew Bartlett
* pygensec: Fix init of variable if not specified.Jelmer Vernooij2012-05-181-1/+1
| | | | | | | | | Thanks to Wolfgang Sourdeau for reporting this. Bug: https://bugzilla.samba.org/show_bug.cgi?id=8946 Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri May 18 04:50:17 CEST 2012 on sn-devel-104
* Note that "keepalive" only applies to SMB1 connections.Jeremy Allison2012-05-181-0/+3
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 18 02:59:34 CEST 2012 on sn-devel-104
* Fix the waf build with the new "cleans up stale processes" test.Jeremy Allison2012-05-181-0/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 18 00:20:36 CEST 2012 on sn-devel-104
* s3: Check for serverid_exists in close_directoryVolker Lendecke2012-05-171-0/+3
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Check for serverid_exists in close_remove_share_modeVolker Lendecke2012-05-171-0/+3
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Be less picky on stale share mode entriesVolker Lendecke2012-05-171-1/+3
| | | | | | If a process died, the share mode entry might be bogus. Ignore those entries. Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Check for serverid_exists in find_oplock_typesVolker Lendecke2012-05-171-0/+20
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Test whether get_share_mode_lock cleans up stale processesVolker Lendecke2012-05-174-1/+179
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Check for serverid_exists in rename_share_filenameVolker Lendecke2012-05-171-0/+4
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Do not check the PIDs is parse_share_modesVolker Lendecke2012-05-171-42/+0
| | | | | | We do that when conflicts arise Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Check for serverid_exists in smb_posix_unlinkVolker Lendecke2012-05-171-0/+3
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Check for serverid_exists in open_mode_checkVolker Lendecke2012-05-171-0/+5
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Check for serverid_exists in notify_deferred_opensVolker Lendecke2012-05-171-2/+8
| | | | | | We will remove the check in parse_share_modes soon Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Add "share_mode_stale_server"Volker Lendecke2012-05-172-0/+33
| | | | | | | This is a helper routine that prunes a dead share mode entry on demand. This prepares for removing the serverids_exist call in parse_share_modes. Signed-off-by: Jeremy Allison <jra@samba.org>
* s4:torture: add smb2.session.expire1Stefan Metzmacher2012-05-171-1/+116
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 17 21:53:11 CEST 2012 on sn-devel-104
* s4:torture: add smb2.session.reconnect2 testStefan Metzmacher2012-05-171-0/+64
| | | | | | | This uses just one transport connection and demonstrates the implicit logoff of the previous session. metze
* s4:torture: rename smb2.session.reconnect to smb2.session.reconnect1Stefan Metzmacher2012-05-171-2/+2
| | | | metze
* s4:torture: remove unused vars in smb2.session.reauth*Stefan Metzmacher2012-05-171-2/+2
| | | | metze
* s4:auth/gensec_gssapi: add "gensec_gssapi:requested_life_time" optionStefan Metzmacher2012-05-171-1/+6
| | | | metze
* s3:gse: implement gensec_gse_expire_time()Stefan Metzmacher2012-05-171-0/+12
| | | | metze
* s4:auth/gensec: implement gensec_gssapi_expire_time()Stefan Metzmacher2012-05-171-0/+13
| | | | metze
* auth/gensec: implement gensec_spnego_expire_time()Stefan Metzmacher2012-05-171-0/+12
| | | | metze
* auth/gensec: add gensec_expire_time()Stefan Metzmacher2012-05-172-0/+12
| | | | metze
* s4:auth/gensec_gssapi: add missing 'break' statementsStefan Metzmacher2012-05-171-0/+2
| | | | metze
* s4:auth/gensec_gssapi: remember the expire timeStefan Metzmacher2012-05-172-2/+9
| | | | metze
* s3:gse: remember the expire timeStefan Metzmacher2012-05-171-2/+15
| | | | metze
* s3:smb2_sesssetup: make use of nt_status_squash() in ↵Stefan Metzmacher2012-05-171-1/+1
| | | | | | smbd_smb2_session_setup_recv() metze
* Check the return from create_acl_blobRichard Sharpe2012-05-171-4/+6
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Thu May 17 07:17:29 CEST 2012 on sn-devel-104
* s3-smbd: Avoid creating a UID ACL entry for SIDs that are mapped as ↵Andrew Bartlett2012-05-171-0/+35
| | | | | | | | | | | ID_TYPE_BOTH The GID ACL entry is what will be mapped in most cases, and so is sufficient. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu May 17 05:08:44 CEST 2012 on sn-devel-104
* s3-smbd: Consider a group with the same SID as sufficient duplicationAndrew Bartlett2012-05-171-0/+7
| | | | | | | | This code is to ensure that the user does not loose rights when their file ownership is taken away. If the owner (an IDMAP_BOTH SID) appears as a group then a duplicate user is not required. Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-smbd: Handle ID_TYPE_BOTH by mapping to both a group ACL entry and file ↵Andrew Bartlett2012-05-171-39/+109
| | | | | | | | ownership This will allow groups, such as domain administrators, to own files while correctly handling the rest of the ACL permissions. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org>
* We need to split things up into a new helper function ↵Andrew Bartlett2012-05-171-172/+184
| | | | | | | | | | add_current_ace_to_acl() in order for there to be more posix ACL elements than NT ACL elements (so a group SID can own a file, but also get the group permissions that will be honoured) Andrew Bartlett Slightly modified by Jeremy to reduce diff size. Signed-off-by: Jeremy Allison <jra@samba.org>
* This covers a case where an ID_TYPE_BOTH mapping creates group permissions, ↵Jeremy Allison2012-05-171-2/+5
| | | | but must own the file. Based on an original patch by Andrew Bartlett.
* s3-smbd: Do not merge UID ACE values with GID ACE values for posix ACLAndrew Bartlett2012-05-171-5/+12
| | | | | | | | This might happen when we get a SID mapped to IDMAP_BOTH. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:onefs: remove all onefs related code as it not maintained anymoreStefan Metzmacher2012-05-1623-10395/+2
| | | | | | | | | | See https://lists.samba.org/archive/samba-technical/2012-May/083631.html for the discussion. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 16 11:23:05 CEST 2012 on sn-devel-104
* Fix the overwriting of errno before use in a DEBUG statement and use the ↵Richard Sharpe2012-05-162-5/+8
| | | | | | | return value from store_acl_blob_fsp rather than ignoring it. Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Wed May 16 03:43:41 CEST 2012 on sn-devel-104
* build: Add explicit mention of --abi-check-disable to ABI checkerAndrew Bartlett2012-05-161-1/+1
| | | | | | | | | | | | | | | | | | This information has always been in the linked wiki page, but put it in the build to unblock developers using platforms with slightly different GDB output. We can also assist this by improving the string normalisiation in the ABI checker when example errors are provided. It is better to build with the waf build and the full testsuite than to avoid the waf build or not to use the developer options simply to skip the ABI checker. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 16 01:53:42 CEST 2012 on sn-devel-104
* libwbclient: Fix an invalid free()Volker Lendecke2012-05-161-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed May 16 00:00:00 CEST 2012 on sn-devel-104
* wbinfo: Fix Coverity ID 242684 Resource leakVolker Lendecke2012-05-151-0/+1
|