From 216518249261c8a3d5190d157133fed0b94e756f Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 18 Oct 2010 11:23:44 -0400 Subject: 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 --- ipaserver/install/dsinstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipaserver/install/dsinstance.py') 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] -- cgit