summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-11-15 02:45:31 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:45:19 +0100
commitbd6a651b38446512af4982a376ddead658b6ee74 (patch)
tree5a8973e62295cdb5fe79e618b8ec61bf0e76e30a /source4/setup
parentd544879e434c36f02bfc7d1322f1179d00294669 (diff)
downloadsamba-bd6a651b38446512af4982a376ddead658b6ee74.tar.gz
samba-bd6a651b38446512af4982a376ddead658b6ee74.tar.bz2
samba-bd6a651b38446512af4982a376ddead658b6ee74.zip
r25960: Enable checks on the validity of the search base on sam.ldb in Samba4.
Remove bogus check to return NO_SUCH_ENTRY in ldap_backend.c, as this error is now correctly emited from ldb. Andrew Bartlett (This used to be commit ed57862b90812e5a38ca81935b131338112fb19f)
Diffstat (limited to 'source4/setup')
-rw-r--r--source4/setup/provision_init.ldif3
-rw-r--r--source4/setup/provision_partitions.ldif1
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/setup/provision_init.ldif b/source4/setup/provision_init.ldif
index a69399c3e6..c922fa0bd2 100644
--- a/source4/setup/provision_init.ldif
+++ b/source4/setup/provision_init.ldif
@@ -23,6 +23,9 @@ sAMAccountType: INTEGER
systemFlags: INTEGER
userAccountControl: INTEGER
+dn: @OPTIONS
+checkBaseOnSearch: TRUE
+
dn: @KLUDGEACL
passwordAttribute: sambaPassword
passwordAttribute: ntPwdHash
diff --git a/source4/setup/provision_partitions.ldif b/source4/setup/provision_partitions.ldif
index f07ec680e0..674e16713d 100644
--- a/source4/setup/provision_partitions.ldif
+++ b/source4/setup/provision_partitions.ldif
@@ -4,6 +4,7 @@ partition: ${CONFIGDN}:${CONFIGDN_LDB}
partition: ${DOMAINDN}:${DOMAINDN_LDB}
replicateEntries: @ATTRIBUTES
replicateEntries: @INDEXLIST
+replicateEntries: @OPTIONS
modules:${SCHEMADN}:${SCHEMADN_MOD}${SCHEMADN_MOD2}
modules:${CONFIGDN}:${CONFIGDN_MOD}${CONFIGDN_MOD2}
modules:${DOMAINDN}:${DOMAINDN_MOD}${DOMAINDN_MOD2}