summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2017-11-27 11:11:19 +1300
committerAndrew Bartlett <abartlet@samba.org>2017-12-10 00:47:29 +0100
commit704bbae25c07c08c051a66ae0a83fb5abda373f1 (patch)
treea0f770b7013379f30ee0a4ab8a8be5b43daf1afa /source4/dsdb/samdb
parent4d5da6c72bd60064459170af1db00c7367f87fbe (diff)
downloadsamba-704bbae25c07c08c051a66ae0a83fb5abda373f1.tar.gz
source4 dsdb: Allow duplicate non local objectSIDs
Remove the unique constraint on the objectSID index, and enable the unique_object_sids module. This allows duplicate objectSIDs on foreign security principals, and disallows duplicates for local objectSIDs BUG: https://bugzilla.samba.org/show_bug.cgi?id=13004 Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/samba_dsdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samba_dsdb.c b/source4/dsdb/samdb/ldb_modules/samba_dsdb.c
index 9098b52f816..87d65bd8c2b 100644
--- a/source4/dsdb/samdb/ldb_modules/samba_dsdb.c
+++ b/source4/dsdb/samdb/ldb_modules/samba_dsdb.c
@@ -295,6 +295,7 @@ static int samba_dsdb_init(struct ldb_module *module)
"subtree_delete",
"repl_meta_data",
"operational",
+ "unique_object_sids",
"subtree_rename",
"linked_attributes",
NULL};