Reputation: 5
My requirement is to migrate the users from ou=people,dc=agroup,dc=com to dc=1a_archive,dc=com using java i just want to know if this is possible? if possible please tell me the solution
Upvotes: 0
Views: 694
Reputation: 11026
Using the LDAP protocol this requires a ModRDN that would "move" the LDAP Entry. (See link for some examples)
Oracle also shows some simple JNDI examples using Context.rename()
Most LDAP Server Implementations do NOT support the ModifyDNRequest on an LDAP Entry which contain subordinate entries.
Some LDAP Server Implementation include a method to move containers. I am aware the these support moving containers, perhaps with some limitations:
Upvotes: 1