benel / Dolomite

Directories Led by Members
https://github.com/benel/Dolomite/wiki
21 stars 20 forks source link

Fix: Create a group #34

Closed jeranvier closed 13 years ago

jeranvier commented 13 years ago

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");