https://bugs.openldap.org/show_bug.cgi?id=8802
--- Comment #2 from Ryan Tandy ryan@openldap.org --- I don't understand what's going on here. Why do we see "replace pwdChangedTime" and "add pwdHistory" twice for a single "replace userPassword"? I'm testing exactly the same version as the reporter and those only occur once each for me.
I think this is an invalid configuration, with ppolicy configured _twice_ on the database.
If I do this invalid config:
overlay ppolicy ppolicy_default cn=ppolicy,dc=example,dc=com
overlay ppolicy ppolicy_default cn=ppolicy,dc=example,dc=com
then I get that same result:
5e7abb2b mdb_modify_internal: replace userPassword 5e7abb2b mdb_modify_internal: replace pwdChangedTime 5e7abb2b mdb_modify_internal: add pwdHistory 5e7abb2b mdb_modify_internal: replace pwdChangedTime 5e7abb2b mdb_modify_internal: add pwdHistory 5e7abb2b mdb_modify_internal: 20 modify/add: pwdHistory: value #0 already exists 5e7abb2b mdb_modify: modify failed (20)
Mats, can you please confirm this was a configuration error and we can close it?