https://bugs.openldap.org/show_bug.cgi?id=9444
Issue ID: 9444 Summary: Feature Request: Textual error data is not sent through chaining overlay Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: slapd Assignee: bugs@openldap.org Reporter: andrewlanecarr@gmail.com Target Milestone: ---
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:
https://bugs.openldap.org/show_bug.cgi?id=9444
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.3
https://bugs.openldap.org/show_bug.cgi?id=9444
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |ondra@mistotebe.net
https://bugs.openldap.org/show_bug.cgi?id=9444
Ondřej Kuzník ondra@mistotebe.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tune_up@mail.ru
--- Comment #1 from Ondřej Kuzník ondra@mistotebe.net --- *** Issue 9439 has been marked as a duplicate of this issue. ***
https://bugs.openldap.org/show_bug.cgi?id=9444
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- 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.
https://bugs.openldap.org/show_bug.cgi?id=9444
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED
https://bugs.openldap.org/show_bug.cgi?id=9444
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.openldap.org/s | |how_bug.cgi?id=6785