Modify LDAP records with JNDI
Problem
Need to modify an LDAP record with JNDI, the Java Naming Directory Interface.Following on from using java to perform LDAP searches, here is a quick demo on modifying records.
Solution
Here I’m using java to modify John Doe’s record, changing the givenname entry to John A.As you’ll notice all values are hard coded (such as hostname, […]