mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Use nscd command to invalide group informations
This commit is contained in:
parent
e938c6d309
commit
e199b03d7d
1 changed files with 2 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue