directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nedumpillil, Vicas" <>
Subject RE: [jira] Created: (DIREVE-214) Make Interceptor chains runtime configurable
Date Sun, 07 Aug 2005 10:56:34 GMT
Apache (apacheds-main-0.9.jar)
Java - JNDI to access ldap 

        ModificationItem[] mods = new ModificationItem[1];
        Attribute mod = new BasicAttribute(uniqueMember_ATTR, userDN);
        mods[0] =  new ModificationItem(DirContext.ADD_ATTRIBUTE, mod);
        DirContext dc = null;
         dc =;
         dc.modifyAttributes(theDN, mods);

The above lines of code seems to not add additional values to the attribute.
The existing attribute values are getting replaced by this new value.

Group already has two users "john' and 'Matt' 
To add 'Jack' to the group will cause  the other two to loose their group assignments.

These work just fine with other ldap providers like openldap.
Any ideas comments? 

View raw message