[Date Prev][Date Next] [Chronological] [Thread] [Top]

moddn (ITS#1192)



Full_Name: Rick Brunelle
Version: 2.0.7
OS: linux (2.2.19-6.2.1smp)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (216.219.250.204)


When using Perl's Net::LDAP module, moddn does not seem to exhibit the correct
behavior.
For example, suppose that I have the following DN's:
a=1,b=2,c=3,d=4
b=2,c=3,d=4
If I use moddn to change the superior of the second entry (b=2,c=3,d=4) so that
its
new superior is (c=4,d=4), the second entry's DN should now be b=2,c=4,d=4.
According to spec, this should also move the first entry so that the first
entry's
DN should now be a=1,b=2,c=4,d=4.  This is not what is happening.  It only
changes
the DN of the entry modified by the moddn call without touching any children of
the entry.
.  Isn't moddn supposed to be a recursive function?