path: root/ipaserver/install/
diff options
authorJr Aquino <>2011-08-30 17:48:15 -0700
committerMartin Kosek <>2011-08-31 09:53:11 +0200
commit8b27f1ad273ee5420657194d82c021022c069447 (patch)
tree593b90ed801827ff1eda8fac791cc1a2cef2b049 /ipaserver/install/
parent776af82572b56d9c66a2eadabdb5bced9316648a (diff)
34 Create FreeIPA CLI Plugin for the 389 Auto Membership plugin
Added new container in etc to hold the automembership configs. Modified constants to point to the new container Modified dsinstance to create the container Created to add the new commands Added xmlrpc test to verify functionality Added minor fix to for constant behavior between memberof and automember
Diffstat (limited to 'ipaserver/install/')
1 files changed, 9 insertions, 0 deletions
diff --git a/ipaserver/install/ b/ipaserver/install/
index 7ca5db2..09ef8c5 100644
--- a/ipaserver/install/
+++ b/ipaserver/install/
@@ -250,6 +250,7 @@ class DsInstance(service.Service):
self.step("configuring user private groups", self.__user_private_groups)
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)
if hbac_allow:
self.step("creating default HBAC rule allow_all", self.add_hbac)
@@ -283,6 +284,8 @@ class DsInstance(service.Service):
self.step("setting up initial replication", self.__setup_replica)
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)
# Managed Entries configuration is done via update files
@@ -782,6 +785,12 @@ class DsInstance(service.Service):
def __add_sudo_binduser(self):
self._ldap_mod("sudobind.ldif", self.sub_dict)
+ def __add_automember_config(self):
+ self._ldap_mod("automember.ldif", self.sub_dict)
+ def __add_replica_automember_config(self):
+ self._ldap_mod("replica-automember.ldif", self.sub_dict)
def replica_populate(self):