1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3
Volker Lendecke 9c6c2ad26d idmap_autorid: Fix a race condition when acquiring ranges
Here we are in a transaction to create a range, but we already found
one to exist. We need to return the information about this range to the
caller, just as we do when actually allocating the range. This does not
hit us with current code, as we just have one idmap child. However, if
we parallelize that, two children might have found a domain to not exist
and call idmap_autorid_acquire_range simultaneously. One will create
the range, the other one will find it to already exist. The second child
will also have to pass the info up.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2016-12-16 17:38:20 +01:00
..
auth smbd: username map file handling xfile->stdio 2016-12-11 11:17:23 +01:00
build waf: improve iconv checks 2014-01-03 05:04:44 +01:00
client smbclient: xfile->stdio 2016-12-11 11:17:23 +01:00
exports
groupdb Update smbrun to allow for settings environment variables. 2016-10-13 04:26:26 +02:00
include idmap_autorid: Make idmap_autorid_acquire_range public 2016-12-16 17:38:20 +01:00
intl lang_tdb: don't leak lock_path or data_path onto talloc tos 2014-11-03 23:46:05 +01:00
lib lib: popt_common xfile->stdio 2016-12-11 11:17:23 +01:00
libads s3:libads: Include system /etc/krb5.conf if we use MIT Kerberos 2016-12-02 09:36:07 +01:00
libgpo werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/libgpo/ 2016-09-28 00:04:22 +02:00
libnet s3:libnet_join: make use of cli_full_connection_creds() 2016-12-02 13:46:11 +01:00
librpc s3:crypto: Use smb_krb5_kt_open_relative() for MEMORY keytab 2016-12-16 01:55:13 +01:00
libsmb samlogon_cache: Rename "user_sid" to "sid" 2016-12-16 17:38:19 +01:00
locale s3: fix encryption help messages 2015-12-22 02:22:50 +01:00
locking smbd: ignore ctdb tombstone records in fetch_share_mode_unlocked_parser() 2016-08-08 14:26:24 +02:00
modules vfs: expand_msdfs xfile->stdio 2016-12-11 11:17:23 +01:00
nmbd nmbd: xfile->stdio 2016-12-11 11:17:24 +01:00
param s3:waf: Make PARAM and SMBREGISTRY a subsystem of smbconf only 2016-12-04 16:35:22 +01:00
passdb Update smbrun to allow for settings environment variables. 2016-10-13 04:26:26 +02:00
printing printing: Convert aix_cache_reload to stdio 2016-12-11 11:17:24 +01:00
profile s3-profile: reduce dependencies of smbprofile.h 2016-03-28 20:45:16 +02:00
registry werror: replace WERR_OBJECT_PATH_INVALID with WERR_BAD_PATHNAME in source3/registry/reg_api_regf.c 2016-09-28 00:04:24 +02:00
rpc_client s3-rpc_cli: Support the use of the object_uuid in rpc_cli interfaces 2016-11-24 20:24:26 +01:00
rpc_server rpc_server: svcctl xfile->stdio 2016-12-11 11:17:23 +01:00
rpcclient s3:waf: Make PARAM and SMBREGISTRY a subsystem of smbconf only 2016-12-04 16:35:22 +01:00
script s3:tests: Set missing directories for test_registry_upgrade.sh 2016-11-16 00:20:06 +01:00
selftest s3: torture: Adds regression test case for se_access_check() owner rights issue. 2016-12-10 10:11:09 +01:00
services Update smbrun to allow for settings environment variables. 2016-10-13 04:26:26 +02:00
smbd s3: smbd: Add missing permissions check on destination folder. 2016-12-07 07:58:26 +01:00
torture s3: torture: Adds regression test case for se_access_check() owner rights issue. 2016-12-10 10:11:09 +01:00
utils s3-testparm: Print an error if we have overlapping idmap config 2016-12-12 20:19:10 +01:00
web
winbindd idmap_autorid: Fix a race condition when acquiring ranges 2016-12-16 17:38:20 +01:00
.clang_complete lib: Remove tdb_compat 2015-03-17 11:30:52 +01:00
.dmallocrc
.indent.pro
change-log
Doxyfile
mainpage.dox
smbadduser.in
wscript VFS: convert to using ceph_statx structures and functions, when available 2016-11-20 23:43:13 +01:00
wscript_build s3:waf: Remove unneeded CHARSET3 dependency 2016-12-04 16:35:22 +01:00
wscript_configure_system_ncurses Transition to waf 1.8: wrapped conf.check_cfg 2015-03-16 03:00:07 +01:00