[Date Prev][Date Next]
(ITS#5397) syncrepl badly processes modify rdn operation
Full_Name: Emmanuel Duru
Submission from: (NULL) (188.8.131.52)
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).