ipa-uuid: enable plugin in IPA

This commit is contained in:
Simo Sorce 2010-10-15 17:52:37 -04:00
parent 3a05149201
commit 9018b601cd
3 changed files with 16 additions and 0 deletions

View File

@ -40,6 +40,7 @@ app_DATA = \
ldapi.ldif \
wsgi.py \
user_private_groups.ldif \
uuid-ipauniqueid.ldif \
$(NULL)
EXTRA_DIST = \

View File

@ -0,0 +1,10 @@
# add plugin configuration for ipauniqueid
dn: cn=IPA Unique IDs,cn=IPA UUID,cn=plugins,cn=config
changetype: add
objectclass: top
objectclass: extensibleObject
cn: IPA Unique IDs
ipaUuidAttr: ipaUniqueID
ipaUuidMagicRegen: 0
ipaUuidFilter: (|(objectclass=ipaObject)(objectclass=ipaAssociation))
ipaUuidScope: $SUFFIX

View File

@ -212,6 +212,7 @@ class DsInstance(service.Service):
self.step("enabling IPA enrollment plugin", self.__add_enrollment_module)
self.step("enabling ldapi", self.__enable_ldapi)
self.step("configuring uniqueness plugin", self.__set_unique_attrs)
self.step("configuring uuid plugin", self.__config_uuid_module)
self.step("creating indices", self.__create_indices)
self.step("configuring ssl for ds instance", self.__enable_ssl)
self.step("configuring certmap.conf", self.__certmap_conf)
@ -385,6 +386,10 @@ class DsInstance(service.Service):
def __config_version_module(self):
self._ldap_mod("version-conf.ldif")
def __config_uuid_module(self):
self._ldap_mod("uuid-conf.ldif")
self._ldap_mod("uuid-ipauniqueid.ldif", self.sub_dict)
def __user_private_groups(self):
if has_managed_entries(self.fqdn, self.dm_password):
self._ldap_mod("user_private_groups.ldif", self.sub_dict)