Commit 2346dfd2 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#9262 check referral

parent 47974536
Pipeline #470 passed with stage
in 27 minutes and 49 seconds
...@@ -977,6 +977,9 @@ ldap_chain_response( Operation *op, SlapReply *rs ) ...@@ -977,6 +977,9 @@ ldap_chain_response( Operation *op, SlapReply *rs )
if ( rs->sr_err != LDAP_REFERRAL && rs->sr_type != REP_SEARCHREF ) { if ( rs->sr_err != LDAP_REFERRAL && rs->sr_type != REP_SEARCHREF ) {
return SLAP_CB_CONTINUE; return SLAP_CB_CONTINUE;
} }
if ( !rs->sr_ref ) {
return SLAP_CB_CONTINUE;
}
#ifdef LDAP_CONTROL_X_CHAINING_BEHAVIOR #ifdef LDAP_CONTROL_X_CHAINING_BEHAVIOR
if ( rs->sr_err == LDAP_REFERRAL && get_chaining( op ) > SLAP_CONTROL_IGNORED ) { if ( rs->sr_err == LDAP_REFERRAL && get_chaining( op ) > SLAP_CONTROL_IGNORED ) {
......
Supports Markdown
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