diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-10-18 11:23:44 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2010-10-18 12:00:33 -0400 |
commit | 216518249261c8a3d5190d157133fed0b94e756f (patch) | |
tree | 7ec6a727b6c29e9e71b73fd63c079e5cece6b1e4 /ipaserver | |
parent | 8f82db0e9903d17b31e5ae4f307911da6d41d411 (diff) | |
download | freeipa-216518249261c8a3d5190d157133fed0b94e756f.tar.gz freeipa-216518249261c8a3d5190d157133fed0b94e756f.tar.xz freeipa-216518249261c8a3d5190d157133fed0b94e756f.zip |
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')
-rw-r--r-- | ipaserver/install/dsinstance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index aaa0798cf..02b08755b 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] |