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

slapd: replog() not called when passwd change exop called (ITS#1217)



Full_Name: Chris Noe
Version: 2.0.7
OS: Linux
URL: 
Submission from: (NULL) (207.246.20.162)


When password change extended op is requested and successful on master slapd,
replog() is never called in order to propagate the change to slaves.

Ran across this bug because the slave would never receive updates when the
master had password entries changed by clients using the exop. In add.c,
delete.c, modify.c, and modrdn.c replog() is called after some action has been
taken, I assume the fix is just to add a the necessary call to replog() in
passwd.c (where passwd_extop is located).

Sorry for the short writeup, but I spent a while tracking it down and am
relatively confident this is the problem - if it's not, I'll dig back into it
and spend more time on the next writeup.