mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
The kpasswd keytab must not be owned by the dirsrv user.
Fix copy&paste error.
This commit is contained in:
parent
0f00ba24a2
commit
6778085531
@ -379,8 +379,6 @@ class KrbInstance(service.Service):
|
|||||||
|
|
||||||
self.fstore.backup_file("/etc/sysconfig/ipa_kpasswd")
|
self.fstore.backup_file("/etc/sysconfig/ipa_kpasswd")
|
||||||
update_key_val_in_file("/etc/sysconfig/ipa_kpasswd", "export KRB5_KTNAME", "/var/kerberos/krb5kdc/kpasswd.keytab")
|
update_key_val_in_file("/etc/sysconfig/ipa_kpasswd", "export KRB5_KTNAME", "/var/kerberos/krb5kdc/kpasswd.keytab")
|
||||||
pent = pwd.getpwnam(self.ds_user)
|
|
||||||
os.chown("/var/kerberos/krb5kdc/kpasswd.keytab", pent.pw_uid, pent.pw_gid)
|
|
||||||
|
|
||||||
def uninstall(self):
|
def uninstall(self):
|
||||||
self.kpasswd.uninstall()
|
self.kpasswd.uninstall()
|
||||||
|
Loading…
Reference in New Issue
Block a user