mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-27 01:11:32 -06:00
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
This commit is contained in:
parent
8f82db0e99
commit
2165182492
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user