mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-26 08:51:50 -06:00
ipa-uuid: enable plugin in IPA
This commit is contained in:
parent
3a05149201
commit
9018b601cd
@ -40,6 +40,7 @@ app_DATA = \
|
||||
ldapi.ldif \
|
||||
wsgi.py \
|
||||
user_private_groups.ldif \
|
||||
uuid-ipauniqueid.ldif \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST = \
|
||||
|
10
install/share/uuid-ipauniqueid.ldif
Normal file
10
install/share/uuid-ipauniqueid.ldif
Normal 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
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user