coder
coder

Reputation: 2267

how to update OpenLDAP directory attribute?

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

Upvotes: 0

Views: 470

Answers (2)

user86062
user86062

Reputation:

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).

Upvotes: 1

Peter Hilton
Peter Hilton

Reputation: 17344

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

Upvotes: 2

Related Questions