diff options
author | Sumit Bose <sbose@redhat.com> | 2012-06-18 21:25:31 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2012-06-29 18:00:58 -0400 |
commit | bdb995194c2439751c6969cce589414164b1ffa2 (patch) | |
tree | 73fcb4741eaf66c60c01e37edb54eda40f09e918 /ipaserver/install/dsinstance.py | |
parent | fbebe82811b621c79431f914b413164fbca738ca (diff) | |
download | freeipa-bdb995194c2439751c6969cce589414164b1ffa2.tar.gz freeipa-bdb995194c2439751c6969cce589414164b1ffa2.tar.xz freeipa-bdb995194c2439751c6969cce589414164b1ffa2.zip |
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
Diffstat (limited to 'ipaserver/install/dsinstance.py')
-rw-r--r-- | ipaserver/install/dsinstance.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index 93c6b50c2..d74ee8987 100644 --- a/ipaserver/install/dsinstance.py +++ b/ipaserver/install/dsinstance.py @@ -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() |