tags:

views:

153

answers:

2

Is there any way to programmatically update the OpenLDAP directory attribute through Java code?

+2  A: 

You can do this using Novell's LDAP Classes for Java, which do the job just fine for us.

Peter Hilton
+1  A: 

Peter is right, these classes are the only ones available as long you do not want to fiddle around with JNDI.

One thing though you if you update an attribute you will need to remove the value of the attribute before you add a new value (especially with multivalued attributes).

casperghst42