Commit 8c9714c2 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes: #2407 fixed user removal

parent 2f570797
......@@ -392,6 +392,8 @@ class user extends simplePlugin
$fixed_dn = LDAP::prepare4filter($this->dn);
$ldap = $this->config->get_ldap_link();
/* Delete references to groups */
$ldap->search ('(&(objectClass=posixGroup)(memberUid='.$this->uid.'))', array('uid'));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment