I have an Active Directory group with more than 1500 members (~3500). My problem is that when I call removeAttributeValue on DirContextOperations no exception is thrown, but nothing happens. The user still remains member of the group. The code works perfectly with groups less than 1500 members.
I know that there are restrictions on multi-valued attributes in AD. I have found sample codes with wich I can query the members of the given group using range option. But I can't find any solution removing users from a group like this.Code:DirContextOperations context = ldapTemplate.lookupContext(groupDn); context.removeAttributeValue("member", personDn); ldapTemplate.modifyAttributes(context);
Any help would be appreciated!!