Regenerate nslcd config before creating admin in ldap

This commit is contained in:
Alexandre Aubin 2017-07-07 14:42:24 +00:00
parent 627edbdf0b
commit 03dac66bcb

View file

@ -295,7 +295,7 @@ def tools_postinstall(domain, password, ignore_dyndns=False):
logger.info(m18n.n('yunohost_installing')) logger.info(m18n.n('yunohost_installing'))
service_regen_conf(['nslcd', 'nsswitch'], force=True) service_regen_conf(['nslcd'], force=True)
# Initialize LDAP for YunoHost # Initialize LDAP for YunoHost
# TODO: Improve this part by integrate ldapinit into conf_regen hook # TODO: Improve this part by integrate ldapinit into conf_regen hook