Commit 4d6b0180 authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Quanah Gibson-Mount
Browse files

ITS#9051 Check for more success result codes

parent 152c12d4
......@@ -1549,7 +1549,13 @@ static int accesslog_response(Operation *op, SlapReply *rs) {
return SLAP_CB_CONTINUE;
}
if ( li->li_success && rs->sr_err != LDAP_SUCCESS )
/*
* ITS#9051 Technically LDAP_REFERRAL and LDAP_SASL_BIND_IN_PROGRESS
* are not errors, but they aren't really success either
*/
if ( li->li_success && rs->sr_err != LDAP_SUCCESS &&
rs->sr_err != LDAP_COMPARE_TRUE &&
rs->sr_err != LDAP_COMPARE_FALSE )
goto done;
e = accesslog_entry( op, rs, li, logop, &op2 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment