mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
users: Restart nscd after setup
The changes made for system login will not be effective until a restart. This includes SSH login, console login, getent answers, etc. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
a155f38eef
commit
56b071858b
@ -63,6 +63,7 @@ def configure_slapd():
|
|||||||
'ldap-sasl-mech': 'EXTERNAL'})
|
'ldap-sasl-mech': 'EXTERNAL'})
|
||||||
action_utils.dpkg_reconfigure('libnss-ldapd',
|
action_utils.dpkg_reconfigure('libnss-ldapd',
|
||||||
{'nsswitch': 'group, passwd, shadow'})
|
{'nsswitch': 'group, passwd, shadow'})
|
||||||
|
action_utils.service_restart('nscd')
|
||||||
|
|
||||||
|
|
||||||
def configure_ldap_structure():
|
def configure_ldap_structure():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user