When operating in a replicated environment we would like to see the text message accompany the error code propagated to the other nodes in the cluster. For Example: Master Log - master slapd[406]: conn=1160 op=3 MOD attr=userPassword master slapd[406]: conn=1160 op=3 RESULT tag=103 err=19 text=Password is not being changed from existing value Slave Log - slave slapd[31094]: conn=1000 op=18 MOD attr=userPassword slave slapd[31094]: conn=1000 op=18 RESULT tag=103 err=19 text= The text "Password is not being changed from existing value" is not copied in this process. This is using the following configuration:
*** Issue 9439 has been marked as a duplicate of this issue. ***
Commits: • f7888739 by Ondřej Kuzník at 2021-03-18T15:34:26+00:00 ITS#9444 Pass original message when chain-return-error is set • 0c8afb03 by Ondřej Kuzník at 2021-03-18T15:34:26+00:00 ITS#9444 Manage sr_ref/sr_matched flags accordingly send_ldap_response() clears them immediately even if we never attached the data to be freed, so when we reinstate them, the flags are gone and the next send_ldap_response() doesn't consider freeing them.