From 0c69e59f853239d0f3c262b863c70c249b572550 Mon Sep 17 00:00:00 2001 From: Nadezhda Ivanova Date: Mon, 29 Sep 2025 16:07:05 +0300 Subject: [PATCH] ITS#10392 back-ldap does not return a response if incorrect secprops is configured --- servers/slapd/back-ldap/bind.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index 3649518a3a..a259bd2013 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -1408,6 +1408,11 @@ retry_lock:; Debug( LDAP_DEBUG_ANY, "Error: ldap_set_option " "(SECPROPS,\"%s\") failed!\n", sb->sb_secprops ); + rs->sr_err = LDAP_OTHER; + if ( sendok & LDAP_BACK_SENDERR ) { + send_ldap_result( op, rs ); + } + LDAP_BACK_CONN_ISBOUND_CLEAR( lc ); goto done; } } -- 2.47.3