From: Howard Chu Date: Sat, 5 Nov 2005 22:35:40 +0000 (+0000) Subject: Fix ITS#4151 - set sasl_bind_in_progress in bind_cb X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~87 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ee8bea214a08daba5c23a03fc266369019646983;p=openldap Fix ITS#4151 - set sasl_bind_in_progress in bind_cb --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index e3bd2f5d41..eea67ea1e2 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -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 );