[Date Prev][Date Next]
Re: deadlock in back-ldbm/modrdn.c (ITS#951)
At 02:49 PM 1/8/01 +0000, firstname.lastname@example.org wrote:
>Full_Name: Stig Venaas
>Submission from: (NULL) (126.96.36.199)
>On both 2.0.7 and head from november 9th (modrdn.c seems to be unchanged since
>then), and on both Linux and Solaris (I don't think OS matters).
>I'm trying to do:
>ldap_rename_s(ldap, "cn=Anders Lund, o=UNINETT Sekretariat, dc=uninett, dc=no",
> "cn=Birger Lund", "o=UNINETT Sekretariat, dc=uninett, dc=no", 0, NULL,
>The old and the new parent is the same, and it looks like it tries to write
>the parent twice (both the old and the new which are the same).
We should catch this and either:
1) ignore the newSuperior field or
2) return an error as the superior is not new.