summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-05 16:12:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:36:54 -0500
commit8b70764038cd08020ab1c22b7f54cbec10acc6a0 (patch)
tree5e1a125ad4f6df5b0bff11dada7b122724ab0734 /source4/scripting
parent9e1a690d2830fe0209424194399ae988d5498cef (diff)
downloadsamba-8b70764038cd08020ab1c22b7f54cbec10acc6a0.tar.gz
samba-8b70764038cd08020ab1c22b7f54cbec10acc6a0.tar.bz2
samba-8b70764038cd08020ab1c22b7f54cbec10acc6a0.zip
r20553: add ${CONFIGDN} and ${SCHEMADN} instead of using hardcoded paths
under ${BASEDN} metze (This used to be commit 09ca6aae12d8e10b76971cf269f7c62f228a4c87)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/libjs/provision.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index 286255491b..80362ce7f2 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -697,6 +697,8 @@ function provision_guess()
subobj.DNSDOMAIN);
rdn_list = split(".", subobj.DNSDOMAIN);
subobj.BASEDN = "DC=" + join(",DC=", rdn_list);
+ subobj.CONFIGDN = "CN=Configuration," + subobj.BASEDN;
+ subobj.SCHEMADN = "CN=Schema," + subobj.CONFIGDN;
subobj.LDAPBACKEND = "users.ldb";
subobj.LDAPMODULE = "entryUUID";
subobj.LDAPMODULES = "objectguid";