From ee8bea214a08daba5c23a03fc266369019646983 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 5 Nov 2005 22:35:40 +0000 Subject: [PATCH] Fix ITS#4151 - set sasl_bind_in_progress in bind_cb --- servers/slapd/connection.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); -- 2.39.5