summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcrit@rhel1.greyoak.com>2008-04-14 17:12:40 -0400
committerRob Crittenden <rcrit@rhel1.greyoak.com>2008-04-14 17:55:25 -0400
commitce3f79e51cc2e8285f604039a0b1020e2d7dbc3f (patch)
tree42e9f23abea300471a6a4ba5571a1ab0b8ff6489
parent27691b9e1c23d15362d943f04912343df3a29718 (diff)
downloadfreeipa.git-ce3f79e51cc2e8285f604039a0b1020e2d7dbc3f.tar.gz
freeipa.git-ce3f79e51cc2e8285f604039a0b1020e2d7dbc3f.tar.xz
freeipa.git-ce3f79e51cc2e8285f604039a0b1020e2d7dbc3f.zip
Configure the ipa_pwd_extop plugin on replicas.
If plugin isn't configured then the kerberos attributes don't get populated. User's will get Preauthentication errors from the kerberos libraries because there is no krbPrincipalKey to match against. 442134
-rw-r--r--ipa-server/ipaserver/krbinstance.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipa-server/ipaserver/krbinstance.py b/ipa-server/ipaserver/krbinstance.py
index 949e30bc..79dbf49a 100644
--- a/ipa-server/ipaserver/krbinstance.py
+++ b/ipa-server/ipaserver/krbinstance.py
@@ -139,7 +139,8 @@ class KrbInstance(service.Service):
self.step("creating a keytab for the directory", self.__create_ds_keytab)
self.step("creating a keytab for the machine", self.__create_host_keytab)
self.step("exporting the kadmin keytab", self.__export_kadmin_changepw_keytab)
- self.step("adding the password extenstion to the directory", self.__add_pwd_extop_module)
+ self.step("adding the password extension to the directory", self.__add_pwd_extop_module)
+ self.step("adding the kerberos master key to the directory", self.__add_master_key)
self.__common_post_setup()
@@ -158,6 +159,7 @@ class KrbInstance(service.Service):
self.step("configuring KDC", self.__create_replica_instance)
self.step("creating a keytab for the directory", self.__create_ds_keytab)
self.step("creating a keytab for the machine", self.__create_host_keytab)
+ self.step("adding the password extension to the directory", self.__add_pwd_extop_module)
self.__common_post_setup()
@@ -327,6 +329,7 @@ class KrbInstance(service.Service):
def __add_pwd_extop_module(self):
self.__ldap_mod("pwd-extop-conf.ldif")
+ def __add_master_key(self):
#get the Master Key from the stash file
try:
stash = open("/var/kerberos/krb5kdc/.k5."+self.realm, "r")