From: Chris R. <Chr...@me...> - 2000-05-30 16:13:31
|
On Tue, 30 May 2000 16:43:49 BST, Rui Monteiro wrote: > The patch woks perfectly. Thanks Graham. > > I can now rename DN's but i cannot move the to another branch on LDAP tree. > The server tells me it does not support moving of entries. > As i'm working with with LDAPV3, i should be able to move DN's, right ? > > Configuration: > Netscape Directory Server 4.1. > perl 5.005_3 > perl-ldap-0.18 No, not necessarily. RFC 2251 says that clients must not expect to be able to perform arbitrary movements of entries and subtrees between servers. NS simply might not be able to implement the newSuperior part of ModifyDNRequest, which is a not uncommon characteristic of directory servers. The way you avoid this problem is you read the entry from the original DN, and you simply add it with the new DN. (Then delete the old entry.) Cheers, Chris |