We also need to regen nsswitch before ldapinit otherwise sudo doesnt work

This commit is contained in:
Alexandre Aubin 2017-07-07 14:51:54 +00:00 committed by root
parent 20c63b1d06
commit 14159a490e

View file

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