summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/krbinstance.py
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2013-05-24 14:33:00 +0200
committerMartin Kosek <mkosek@redhat.com>2013-05-24 14:36:43 +0200
commit2d3301ceb7dca44d200d6abc0a2a6dfcce3dd7c2 (patch)
tree5f1b954e48329d9a4b3d4b01f8032e6396665364 /ipaserver/install/krbinstance.py
parent0f646d7ac5461d9d959ca71fca3c77f538a6e0ed (diff)
downloadfreeipa-2d3301ceb7dca44d200d6abc0a2a6dfcce3dd7c2.tar.gz
freeipa-2d3301ceb7dca44d200d6abc0a2a6dfcce3dd7c2.tar.xz
freeipa-2d3301ceb7dca44d200d6abc0a2a6dfcce3dd7c2.zip
Avoid exporting KRB5_KTNAME in dirsrv env
The variable is already defined, exporting in dirsrv systemd environment is not needed and produces a (benign) error.
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 6f9f1f5c4..33cd3489d 100644
--- a/ipaserver/install/krbinstance.py
+++ b/ipaserver/install/krbinstance.py
@@ -391,7 +391,6 @@ class KrbInstance(service.Service):
installutils.create_keytab("/etc/dirsrv/ds.keytab", ldap_principal)
update_key_val_in_file("/etc/sysconfig/dirsrv", "KRB5_KTNAME", "/etc/dirsrv/ds.keytab")
- update_key_val_in_file("/etc/sysconfig/dirsrv", "export KRB5_KTNAME", "/etc/dirsrv/ds.keytab")
pent = pwd.getpwnam(dsinstance.DS_USER)
os.chown("/etc/dirsrv/ds.keytab", pent.pw_uid, pent.pw_gid)