Update S4U2proxy delegation list when creating replicas

This commit is contained in:
Rob Crittenden authored and Martin Kosek committed 2012-02-15 17:24:16 +01:00
1 parent 2da6d6e746
commit af52c4d31e
4 files changed
+15 -1

No files matched your search

+1
View File
@@ -54,6 +54,7 @@ app_DATA = \
sudobind.ldif \
automember.ldif \
replica-automember.ldif \
replica-s4u2proxy.ldif \
$(NULL)
EXTRA_DIST = \
+9
View File
@@ -0,0 +1,9 @@
dn: cn=ipa-http-delegation,cn=s4u2proxy,cn=etc,$SUFFIX
changetype: modify
add: memberPrincipal
memberPrincipal: HTTP/$FQDN@$REALM
dn: cn=ipa-ldap-delegation-targets,cn=s4u2proxy,cn=etc,$SUFFIX
changetype: modify
add: memberPrincipal
memberPrincipal: ldap/$FQDN@$REALM
+1 -1
View File
@@ -9,7 +9,7 @@ default: objectClass: groupOfPrincipals
default: objectClass: top
default: cn: ipa-http-delegation
default: memberPrincipal: HTTP/$FQDN@$REALM
default: ipaAllowedTarget: 'cn=ipa-ldap-delegation-targets,cn=etc,$SUFFIX'
default: ipaAllowedTarget: 'cn=ipa-ldap-delegation-targets,cn=s4u2proxy,cn=etc,$SUFFIX'
dn: cn=ipa-ldap-delegation-targets,cn=s4u2proxy,cn=etc,$SUFFIX
default: objectClass: groupOfPrincipals
+4
View File
@@ -247,6 +247,7 @@ class DsInstance(service.Service):
self.step("adding replication acis", self.__add_replication_acis)
# See LDIFs for automember configuration during replica install
self.step("setting Auto Member configuration", self.__add_replica_automember_config)
self.step("enabling S4U2Proxy delegation", self.__setup_s4u2proxy)
self.__common_post_setup()
@@ -544,6 +545,9 @@ class DsInstance(service.Service):
def __add_replication_acis(self):
self._ldap_mod("replica-acis.ldif", self.sub_dict)
def __setup_s4u2proxy(self):
self._ldap_mod("replica-s4u2proxy.ldif", self.sub_dict)
def __create_indices(self):
self._ldap_mod("indices.ldif")