Skip to content
Snippets Groups Projects
Commit ee8bea21 authored by Howard Chu's avatar Howard Chu
Browse files

Fix ITS#4151 - set sasl_bind_in_progress in bind_cb

parent f0dac825
No related branches found
No related tags found
No related merge requests found
......@@ -2004,6 +2004,8 @@ static int connection_bind_cb( Operation *op, SlapReply *rs )
ldap_pvt_thread_mutex_lock( &op->o_conn->c_mutex );
op->o_conn->c_conn_state = SLAP_C_ACTIVE;
op->o_conn->c_sasl_bind_in_progress =
( rs->sr_err == LDAP_SASL_BIND_IN_PROGRESS );
ldap_pvt_thread_mutex_unlock( &op->o_conn->c_mutex );
ch_free( cb );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment