mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Reject operations when binding
This commit is contained in:
parent
50f5c4bea7
commit
54cd3a27f0
1 changed files with 6 additions and 0 deletions
|
|
@ -93,6 +93,12 @@ client_read_cb( evutil_socket_t s, short what, void *arg )
|
|||
&connection_pool, client_bind, op );
|
||||
break;
|
||||
default:
|
||||
if ( c->c_state == SLAP_C_BINDING ) {
|
||||
ldap_pvt_thread_mutex_unlock( &c->c_mutex );
|
||||
operation_send_reject(
|
||||
op, LDAP_PROTOCOL_ERROR, "bind in progress", 0 );
|
||||
return;
|
||||
}
|
||||
rc = ldap_pvt_thread_pool_submit(
|
||||
&connection_pool, request_process, op );
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue