diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-07-05 01:45:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:59:06 -0500 |
commit | 97172e11204b2863ab1e4021aea3c40668d33aef (patch) | |
tree | 61a2a80275ba652c1924680c968bba28a0a2743f /source4/scripting | |
parent | c37cfae81e6f87feecb0737cb7e646c9a7da1114 (diff) | |
download | samba-97172e11204b2863ab1e4021aea3c40668d33aef.tar.gz samba-97172e11204b2863ab1e4021aea3c40668d33aef.tar.bz2 samba-97172e11204b2863ab1e4021aea3c40668d33aef.zip |
r23716: Clarify LDAP Manager DN and fix slapd startup syntax.
Andrew Bartlett
(This used to be commit 17dad5d8c345c2c3a7643bff7a43473339a22d40)
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/libjs/provision.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js index 2ef0747f0d..4317a37a54 100644 --- a/source4/scripting/libjs/provision.js +++ b/source4/scripting/libjs/provision.js @@ -464,6 +464,8 @@ function provision_fix_subobj(subobj, paths) var ldap_path_list = split("/", paths.ldapdir); subobj.LDAPI_URI = "ldapi://" + join("%2F", ldap_path_list) + "%2Fldapi"; + subobj.LDAP_MANAGERDN = "cn=Manager," + subobj.DOMAINDN; + return true; } @@ -852,7 +854,7 @@ function provision_guess() subobj.KRBTGTPASS = randpass(12); subobj.MACHINEPASS = randpass(12); subobj.ADMINPASS = randpass(12); - subobj.LDAPMANAGERPASS = randpass(12); + subobj.LDAP_MANAGERPASS = randpass(12); subobj.DEFAULTSITE = "Default-First-Site-Name"; subobj.NEWGUID = randguid; subobj.NTTIME = nttime; |