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

Re: moddn (ITS#1192)



In looking at the code, it seems that there was no check.  I
added one (on the HEAD branch).  Enjoy.

Kurt

At 01:53 PM 6/6/2001, Kurt@OpenLDAP.org wrote:
>At 12:41 PM 6/6/2001, contact@outerrym.com wrote:
>>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)
>
>OpenLDAP 2.x is not properly detecting that the entry has
>children.  If it had, it would have returned unwillingToPerform
>as the implement is unable to honor the request.
>
>
>>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?