Use nscd command to invalide group informations

This commit is contained in:
Josué Tille 2019-01-11 17:22:03 +01:00
parent e938c6d309
commit e199b03d7d
No known key found for this signature in database
GPG key ID: D5E068C6DFA8681D

View file

@ -507,4 +507,5 @@ def permission_sync_to_user(auth, force=False):
app_ssowatconf(auth)
# Reload unscd because if not the group is not updated in the system from LDAP
os.system('systemctl restart unscd')
os.system('nscd --invalidate=passwd')
os.system('nscd --invalidate=group')