summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-07-05 02:52:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:59:07 -0500
commit90b49dc5208a083922c75595749d9abd4ef5b652 (patch)
treeb718d1374222e5f7c1d88accb5cac880598a3fca /source4/setup
parent97172e11204b2863ab1e4021aea3c40668d33aef (diff)
downloadsamba-90b49dc5208a083922c75595749d9abd4ef5b652.tar.gz
samba-90b49dc5208a083922c75595749d9abd4ef5b652.tar.bz2
samba-90b49dc5208a083922c75595749d9abd4ef5b652.zip
r23717: We need to remove the _ in LDAP_MANAGERPASS for the
--ldap-manager-pass= option to work. Andrew Bartlett (This used to be commit fbcb1ec14125a4ca57922ec75b01af9a99dcd954)
Diffstat (limited to 'source4/setup')
-rw-r--r--source4/setup/fedorads.inf4
-rwxr-xr-xsource4/setup/provision-backend2
-rw-r--r--source4/setup/slapd.conf4
3 files changed, 5 insertions, 5 deletions
diff --git a/source4/setup/fedorads.inf b/source4/setup/fedorads.inf
index 43d02da206..8aed0338fb 100644
--- a/source4/setup/fedorads.inf
+++ b/source4/setup/fedorads.inf
@@ -6,8 +6,8 @@ ServerRoot= ${LDAPDIR}
[slapd]
ldapifilepath=${LDAPDIR}/ldapi
Suffix= ${DOMAINDN}
-RootDN= ${LDAP_MANAGERDN}
-RootDNPwd= ${LDAP_MANAGERPASS}
+RootDN= ${LDAPMANAGERDN}
+RootDNPwd= ${LDAPMANAGERPASS}
ServerIdentifier= samba4
${SERVERPORT}
diff --git a/source4/setup/provision-backend b/source4/setup/provision-backend
index 5a3018b724..208869c930 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 %s password: %s\n", subobj.LDAP_MANAGERDN, subobj.LDAP_MANAGERPASS);
+message("Using %s password: %s\n", subobj.LDAPMANAGERDN, subobj.LDAPMANAGERPASS);
var tmp_schema_ldb = subobj.LDAPDIR + "/schema-tmp.ldb";
sys.mkdir(subobj.LDAPDIR, 0700);
diff --git a/source4/setup/slapd.conf b/source4/setup/slapd.conf
index b39e3d5cfb..34896d04b9 100644
--- a/source4/setup/slapd.conf
+++ b/source4/setup/slapd.conf
@@ -47,8 +47,8 @@ index nETBIOSName eq pres
database bdb
suffix ${DOMAINDN}
-rootdn ${LDAP_MANAGERDN}
-rootpw ${LDAP_MANAGERPASS}
+rootdn ${LDAPMANAGERDN}
+rootpw ${LDAPMANAGERPASS}
directory ${LDAPDIR}/db/user
index objectClass eq
index samAccountName eq