mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add range check preop plugin
To make sure that ID ranges do not overlap this plugin checks new additions and changes for conflicts with existing ranges. https://fedorahosted.org/freeipa/ticket/2185
This commit is contained in:
committed by
Rob Crittenden
parent
fbebe82811
commit
bdb995194c
@@ -240,6 +240,7 @@ class DsInstance(service.Service):
|
||||
self.step("configuring netgroups from hostgroups", self.__host_nis_groups)
|
||||
self.step("creating default Sudo bind user", self.__add_sudo_binduser)
|
||||
self.step("creating default Auto Member layout", self.__add_automember_config)
|
||||
self.step("adding range check plugin", self.__add_range_check_plugin)
|
||||
if hbac_allow:
|
||||
self.step("creating default HBAC rule allow_all", self.add_hbac)
|
||||
|
||||
@@ -788,6 +789,9 @@ class DsInstance(service.Service):
|
||||
def __add_replica_automember_config(self):
|
||||
self._ldap_mod("replica-automember.ldif", self.sub_dict)
|
||||
|
||||
def __add_range_check_plugin(self):
|
||||
self._ldap_mod("range-check-conf.ldif", self.sub_dict)
|
||||
|
||||
def replica_populate(self):
|
||||
self.ldap_connect()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user