[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#5397) syncrepl badly processes modify rdn operation
Full_Name: Emmanuel Duru
Version: 2.3.39
OS: Windows
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.68.44.148)
When the provider server receives a modify RDN operation, syncrepl replicates it
with the full new DN as new RDN.
Trying to investigate it, I see that syncrepl.c:syncrepl_entry() gets the newrdn
from a call to dnRdn() function, which only modifies the bv_len of the ber
struct, but not the value itself. Following this, the backend:be_modrdn()
function does not check the length, and gets the full DN as RDN value (at least
back_ldap does this).