summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/krbinstance.py
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-11-17 12:25:01 -0500
committerAdam Young <ayoung@redhat.com>2010-11-22 12:42:16 -0500
commit733dc89f753629d47a89340e8efa3647bf55e5bb (patch)
tree3479f100ef4db064b95eb7c312449dacf85c16bc /ipaserver/install/krbinstance.py
parent6a5c4763afad6fec2b49ffadbca9628a7ed162d5 (diff)
downloadfreeipa-733dc89f753629d47a89340e8efa3647bf55e5bb.tar.gz
freeipa-733dc89f753629d47a89340e8efa3647bf55e5bb.tar.xz
freeipa-733dc89f753629d47a89340e8efa3647bf55e5bb.zip
Save and restore on uninstall ds related config files
Diffstat (limited to 'ipaserver/install/krbinstance.py')
-rw-r--r--ipaserver/install/krbinstance.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ipaserver/install/krbinstance.py b/ipaserver/install/krbinstance.py
index e0d040dce..41c687897 100644
--- a/ipaserver/install/krbinstance.py
+++ b/ipaserver/install/krbinstance.py
@@ -514,7 +514,6 @@ class KrbInstance(service.Service):
self.fstore.backup_file("/etc/dirsrv/ds.keytab")
installutils.create_keytab("/etc/dirsrv/ds.keytab", ldap_principal)
- self.fstore.backup_file("/etc/sysconfig/dirsrv")
update_key_val_in_file("/etc/sysconfig/dirsrv", "export KRB5_KTNAME", "/etc/dirsrv/ds.keytab")
pent = pwd.getpwnam(self.ds_user)
os.chown("/etc/dirsrv/ds.keytab", pent.pw_uid, pent.pw_gid)