due to a misuse of the member Attribute objects when creating a group, only the last member of the memberList was effectively added to Ldap group. Now all the members are added to the group.
NB: To add a new value to a multivalued attribute, one have to create the attribute en use the add() method instead of creating a new attribute with the same name
Example:
new Attribute ("AttributeName", "value1"); new Attribute ("AttributeName", "value2");
is different from
Attribute myAttribute =new Attribute ("AttributeName", "value1"); myAttribute.add("value2");
due to a misuse of the member Attribute objects when creating a group, only the last member of the memberList was effectively added to Ldap group. Now all the members are added to the group.
NB: To add a new value to a multivalued attribute, one have to create the attribute en use the add() method instead of creating a new attribute with the same name Example: new Attribute ("AttributeName", "value1"); new Attribute ("AttributeName", "value2"); is different from Attribute myAttribute =new Attribute ("AttributeName", "value1"); myAttribute.add("value2");