diff options
author | Simo Sorce <ssorce@redhat.com> | 2008-04-08 09:25:48 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2008-04-08 09:25:48 -0400 |
commit | 677808553136558e9580b041edb7937f6c6cd10e (patch) | |
tree | a563ae941a04a71a39e5e4c19088796a7d164150 /ipa-server/ipaserver | |
parent | 0f00ba24a236361618c8a7e65ce5bbcd8636d589 (diff) | |
download | freeipa-677808553136558e9580b041edb7937f6c6cd10e.tar.gz freeipa-677808553136558e9580b041edb7937f6c6cd10e.tar.xz freeipa-677808553136558e9580b041edb7937f6c6cd10e.zip |
The kpasswd keytab must not be owned by the dirsrv user.
Fix copy&paste error.
Diffstat (limited to 'ipa-server/ipaserver')
-rw-r--r-- | ipa-server/ipaserver/krbinstance.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ipa-server/ipaserver/krbinstance.py b/ipa-server/ipaserver/krbinstance.py index 778b4e2df..414568846 100644 --- a/ipa-server/ipaserver/krbinstance.py +++ b/ipa-server/ipaserver/krbinstance.py @@ -379,8 +379,6 @@ class KrbInstance(service.Service): 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") - pent = pwd.getpwnam(self.ds_user) - os.chown("/var/kerberos/krb5kdc/kpasswd.keytab", pent.pw_uid, pent.pw_gid) def uninstall(self): self.kpasswd.uninstall() |