I'm trying to rename the distinged name (DN) of an entry that exists in
my LDAP Directory. I want change the entry with its attributes to a new
DN path, using Java.
I'm using the Netscape 4.11 Directory Server, and I generate a
DirContext but when use the method "rename(DN, newDN)", the program
throw an OperationNotSupportedException (server not support moving
entries).
If anyone know how can I change the DN of an enrty, it would be greatly
appreciated.
Thanks in advance,
Darren
Mark
rebind
public void rebind(String name,Object obj) throws NamingException
Binds a name to an object, overwriting any existing binding. See
rebind(Name, Object) for details.
Parameters:
name - the name to bind; may not be empty
obj - the object to bind; possibly null
Throws:
InvalidAttributesException - if object did not supply all mandatory
attributes
NamingException - if a naming exception is encountered
Mark Wilcox <mewi...@unt.edu> wrote in message
news:39DF5365...@unt.edu...