ITS#10392 back-ldap does not return a response if incorrect secprops is configured

This commit is contained in:
Nadezhda Ivanova 2025-09-29 16:07:05 +03:00 committed by Quanah Gibson-Mount
parent 2a66e3be35
commit 0c69e59f85

View file

@ -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;
}
}