[Date Prev][Date Next]
Re: moddn (ITS#1192)
In looking at the code, it seems that there was no check. I
added one (on the HEAD branch). Enjoy.
At 01:53 PM 6/6/2001, Kurt@OpenLDAP.org wrote:
>At 12:41 PM 6/6/2001, firstname.lastname@example.org wrote:
>>Full_Name: Rick Brunelle
>>OS: linux (2.2.19-6.2.1smp)
>>Submission from: (NULL) (188.8.131.52)
>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
>>For example, suppose that I have the following DN's:
>>If I use moddn to change the superior of the second entry (b=2,c=3,d=4) so that
>>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
>>DN should now be a=1,b=2,c=4,d=4. This is not what is happening. It only
>>the DN of the entry modified by the moddn call without touching any children of
>>. Isn't moddn supposed to be a recursive function?