mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
Fix group deletion.
This commit is contained in:
parent
0eb3d35b5b
commit
d65d2c4725
@ -42,6 +42,7 @@ EOF
|
||||
|
||||
if [ $? -eq 65 ]; then
|
||||
# Cannot have empty group, so just delete the group.
|
||||
ldapdelete -Y EXTERNAL -H ldapi:/// "$line"
|
||||
dn=$(echo "$line" | cut -d' ' -f2)
|
||||
ldapdelete -Y EXTERNAL -H ldapi:/// "$dn"
|
||||
fi
|
||||
done <<< "$results"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user