Commit a6329e95 authored by Howard Chu's avatar Howard Chu
Browse files

Bind close fix from HEAD

parent eec510b2
...@@ -1759,7 +1759,8 @@ static int connection_bind_cleanup_cb( Operation *op, SlapReply *rs ) ...@@ -1759,7 +1759,8 @@ static int connection_bind_cleanup_cb( Operation *op, SlapReply *rs )
static int connection_bind_cb( Operation *op, SlapReply *rs ) static int connection_bind_cb( Operation *op, SlapReply *rs )
{ {
ldap_pvt_thread_mutex_lock( &op->o_conn->c_mutex ); ldap_pvt_thread_mutex_lock( &op->o_conn->c_mutex );
op->o_conn->c_conn_state = SLAP_C_ACTIVE; if ( op->o_cnn->c_conn_state == SLAP_C_BINDING )
op->o_conn->c_conn_state = SLAP_C_ACTIVE;
op->o_conn->c_sasl_bind_in_progress = op->o_conn->c_sasl_bind_in_progress =
( rs->sr_err == LDAP_SASL_BIND_IN_PROGRESS ); ( rs->sr_err == LDAP_SASL_BIND_IN_PROGRESS );
......
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