mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Move mep templates under cn=etc
Fixes: https://fedorahosted.org/freeipa/ticket/760
This commit is contained in:
@@ -208,10 +208,10 @@ class DsInstance(service.Service):
|
||||
self.step("configuring ssl for ds instance", self.__enable_ssl)
|
||||
self.step("configuring certmap.conf", self.__certmap_conf)
|
||||
self.step("restarting directory server", self.__restart_instance)
|
||||
self.step("configuring user private groups", self.__user_private_groups)
|
||||
self.step("configuring netgroups from hostgroups", self.__host_nis_groups)
|
||||
|
||||
def __common_post_setup(self):
|
||||
self.step("configuring user private groups", self.__user_private_groups)
|
||||
self.step("configuring netgroups from hostgroups", self.__host_nis_groups)
|
||||
self.step("initializing group membership", self.init_memberof)
|
||||
self.step("adding master entry", self.__add_master_entry)
|
||||
self.step("configuring Posix uid/gid generation",
|
||||
|
||||
@@ -627,7 +627,8 @@ class ldap2(CrudBackend, Encoder):
|
||||
if _upg is None:
|
||||
try:
|
||||
upg_entry = self.conn.search_s(
|
||||
'cn=UPG Template, %s' % api.env.basedn, _ldap.SCOPE_BASE,
|
||||
'cn=UPG Template,cn=etc,%s' % api.env.basedn,
|
||||
_ldap.SCOPE_BASE,
|
||||
attrlist=['*']
|
||||
)[0]
|
||||
_upg = True
|
||||
|
||||
Reference in New Issue
Block a user