diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-04-23 07:33:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:51:31 -0500 |
commit | 3d4c4c5fa3596646e98fa50f8f735ffc1cbe8240 (patch) | |
tree | 04abbb64988152331f1c97fb7848473de6a5dd4e /source4/setup/provision | |
parent | a62b46b4b2e39a5d1dfb032c60cca82ceb58f550 (diff) | |
download | samba-3d4c4c5fa3596646e98fa50f8f735ffc1cbe8240.tar.gz samba-3d4c4c5fa3596646e98fa50f8f735ffc1cbe8240.tar.bz2 samba-3d4c4c5fa3596646e98fa50f8f735ffc1cbe8240.zip |
r22478: Update the LDAP backend code to handle initialisation of multiple
partitions onto the target LDAP server.
Make the LDAP provision run before smbd starts, then stop the LDAP
server. This ensures this occurs synchronously, We then restart it
for the 'real run' (with slapd's stdin being the FIFO).
This required fixing a few things in the provision scripts, with more
containers being created via a add/modify pair.
Andrew Bartlett
(This used to be commit 860dfa4ea1ab2b62d4d4fe0644e0a9b882fdafa1)
Diffstat (limited to 'source4/setup/provision')
-rwxr-xr-x | source4/setup/provision | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/setup/provision b/source4/setup/provision index 0c3aea5f72..b6b271045c 100755 --- a/source4/setup/provision +++ b/source4/setup/provision @@ -123,12 +123,18 @@ if (options["aci"] != undefined) { println("set ACI: " + subobj["ACI"]); } +println("set DOMAIN SID: " + subobj["DOMAINSID"]); + if (ldapbackend) { if (!ldapmodule) { subobj["LDAPMODULE"] = "entryUUID"; } subobj["DOMAINDN_LDB"] = subobj["LDAPBACKEND"]; subobj["DOMAINDN_MOD"] = subobj["LDAPMODULE"] + ",paged_searches"; + subobj["CONFIGDN_LDB"] = subobj["LDAPBACKEND"]; + subobj["CONFIGDN_MOD"] = subobj["LDAPMODULE"] + ",paged_searches"; + subobj["SCHEMADN_LDB"] = subobj["LDAPBACKEND"]; + subobj["SCHEMADN_MOD"] = subobj["LDAPMODULE"] + ",paged_searches"; } if (!provision_validate(subobj, message)) { |