Regenerate nslcd config before creating admin in ldap

This commit is contained in:
Alexandre Aubin 2017-07-07 14:42:24 +00:00
parent 786e1d8728
commit 6fc3f08cda

View file

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