Fix group management issues.

This commit is contained in:
James Valleroy authored and Sunil Mohan Adapa committed 2015-07-13 19:50:59 +05:30
1 parent 32bb08c269
commit 925fbe6cd2
2 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -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)")