mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Fix group management issues.
This commit is contained in:
1 parent
32bb08c269
commit
925fbe6cd2
2 files changed
+6
-4
No files matched your search
@@ -45,7 +45,7 @@ elif [ $? -eq 65 ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$groupname" == "admin" ]; then
|
||||
if [ "$groupname" = "admin" ]; then
|
||||
# update sudo group if needed
|
||||
results=$(ldapsearch -Y EXTERNAL -H ldapi:/// -b 'cn=sudo,ou=groups,dc=thisbox' -LLL "(memberUid=$username)")
|
||||
|
||||
|
||||
Reference in new issue
Block a user