Skip to content
Snippets Groups Projects
Commit 4c72ca86 authored by Adrian Damian's avatar Adrian Damian
Browse files

Fixed bug

parent f242ef77
No related branches found
No related tags found
No related merge requests found
......@@ -537,16 +537,19 @@ public class LdapGroupDAO<T extends Principal> extends LdapDAO
{
try
{
String memberGroupID =
memberDN.getRDNString().replace("cn=", "");
ldapGroup.getGroupMembers().
add(getGroup(memberGroupID));
add(getGroup(memberDN));
}
catch(GroupNotFoundException e)
{
// ignore as we are not cleaning up
// deleted groups from the group members
}
catch (UserNotFoundException e)
{
throw new RuntimeException(
"BUG: group owner not found");
}
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment