summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/dsinstance.py
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-10-18 11:23:44 -0400
committerSimo Sorce <ssorce@redhat.com>2010-10-18 12:00:33 -0400
commit216518249261c8a3d5190d157133fed0b94e756f (patch)
tree7ec6a727b6c29e9e71b73fd63c079e5cece6b1e4 /ipaserver/install/dsinstance.py
parent8f82db0e9903d17b31e5ae4f307911da6d41d411 (diff)
downloadfreeipa-216518249261c8a3d5190d157133fed0b94e756f.zip
freeipa-216518249261c8a3d5190d157133fed0b94e756f.tar.gz
freeipa-216518249261c8a3d5190d157133fed0b94e756f.tar.xz
dsinstance: Fix ldappasswd invocation to specify the server name
Apparently on some machines if this is not done SSL validation will fail. Fixes bug #394
Diffstat (limited to 'ipaserver/install/dsinstance.py')
-rw-r--r--ipaserver/install/dsinstance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py
index aaa0798..02b0875 100644
--- a/ipaserver/install/dsinstance.py
+++ b/ipaserver/install/dsinstance.py
@@ -484,7 +484,7 @@ class DsInstance(service.Service):
os.write(admpwdfd, password)
os.close(admpwdfd)
- args = ["/usr/bin/ldappasswd",
+ args = ["/usr/bin/ldappasswd", "-h", self.fqdn,
"-ZZ", "-x", "-D", "cn=Directory Manager",
"-y", dmpwdfile, "-T", admpwdfile,
"uid=admin,cn=users,cn=accounts,"+self.suffix]