summaryrefslogtreecommitdiff
path: root/source4/setup/provision-backend
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-07-05 01:45:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:59:06 -0500
commit97172e11204b2863ab1e4021aea3c40668d33aef (patch)
tree61a2a80275ba652c1924680c968bba28a0a2743f /source4/setup/provision-backend
parentc37cfae81e6f87feecb0737cb7e646c9a7da1114 (diff)
downloadsamba-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/setup/provision-backend')
-rwxr-xr-xsource4/setup/provision-backend4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/setup/provision-backend b/source4/setup/provision-backend
index b36eed5343..5a3018b724 100755
--- a/source4/setup/provision-backend
+++ b/source4/setup/provision-backend
@@ -90,7 +90,7 @@ for (r in options) {
var paths = provision_default_paths(subobj);
provision_fix_subobj(subobj, paths);
message("Provisioning LDAP backend for %s in realm %s into %s\n", subobj.HOSTNAME, subobj.REALM, subobj.LDAPDIR);
-message("Using LDAP Manager password: %s\n", subobj.LDAPMANAGERPASS);
+message("Using %s password: %s\n", subobj.LDAP_MANAGERDN, subobj.LDAP_MANAGERPASS);
var tmp_schema_ldb = subobj.LDAPDIR + "/schema-tmp.ldb";
sys.mkdir(subobj.LDAPDIR, 0700);
@@ -137,7 +137,7 @@ if (options["ldap-backend-type"] == "fedora-ds") {
setup_file("DB_CONFIG", message, subobj.LDAPDBDIR + "/DB_CONFIG", subobj);
if (options["ldap-backend-port"] != undefined) {
message("\nStart slapd with: \n");
- slapd_command = "slapd -f " + subobj.LDAPDIR + "/slapd.conf -h ldap://0.0.0.0:" + options["ldap-backend-port"] + " -h " + subobj.LDAPI_URI;
+ slapd_command = "slapd -f " + subobj.LDAPDIR + "/slapd.conf -h \"ldap://0.0.0.0:" + options["ldap-backend-port"] + " " + subobj.LDAPI_URI "\"";
} else {
slapd_command = "slapd -f " + subobj.LDAPDIR + "/slapd.conf -h " + subobj.LDAPI_URI;
}