mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Send LDAP_SASL_BIND_IN_PROGRESS if o_bind_in_progress is true.
This commit is contained in:
parent
6f8fad20f2
commit
175ace59c8
@ -35,6 +35,13 @@ do_add( Connection *conn, Operation *op )
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE, "do_add\n", 0, 0, 0 );
|
||||
|
||||
if( op->o_bind_in_progress ) {
|
||||
Debug( LDAP_DEBUG_ANY, "do_add: SASL bind in progress.\n", 0, 0, 0 );
|
||||
send_ldap_result( conn, op, LDAP_SASL_BIND_IN_PROGRESS, NULL,
|
||||
"SASL bind in progress" );
|
||||
return LDAP_SASL_BIND_IN_PROGRESS;
|
||||
}
|
||||
|
||||
/*
|
||||
* Parse the add request. It looks like this:
|
||||
*
|
||||
|
@ -31,6 +31,14 @@ do_compare(
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE, "do_compare\n", 0, 0, 0 );
|
||||
|
||||
if( op->o_bind_in_progress ) {
|
||||
Debug( LDAP_DEBUG_ANY, "do_compare: SASL bind in progress.\n",
|
||||
0, 0, 0 );
|
||||
send_ldap_result( conn, op, LDAP_SASL_BIND_IN_PROGRESS, NULL,
|
||||
"SASL bind in progress" );
|
||||
return LDAP_SASL_BIND_IN_PROGRESS;
|
||||
}
|
||||
|
||||
/*
|
||||
* Parse the compare request. It looks like this:
|
||||
*
|
||||
|
@ -31,6 +31,14 @@ do_delete(
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE, "do_delete\n", 0, 0, 0 );
|
||||
|
||||
if( op->o_bind_in_progress ) {
|
||||
Debug( LDAP_DEBUG_ANY, "do_delete: SASL bind in progress.\n",
|
||||
0, 0, 0 );
|
||||
send_ldap_result( conn, op, LDAP_SASL_BIND_IN_PROGRESS, NULL,
|
||||
"SASL bind in progress" );
|
||||
return LDAP_SASL_BIND_IN_PROGRESS;
|
||||
}
|
||||
|
||||
/*
|
||||
* Parse the delete request. It looks like this:
|
||||
*
|
||||
|
@ -42,6 +42,14 @@ do_modify(
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE, "do_modify\n", 0, 0, 0 );
|
||||
|
||||
if( op->o_bind_in_progress ) {
|
||||
Debug( LDAP_DEBUG_ANY, "do_modify: SASL bind in progress.\n",
|
||||
0, 0, 0 );
|
||||
send_ldap_result( conn, op, LDAP_SASL_BIND_IN_PROGRESS, NULL,
|
||||
"SASL bind in progress" );
|
||||
return LDAP_SASL_BIND_IN_PROGRESS;
|
||||
}
|
||||
|
||||
/*
|
||||
* Parse the modify request. It looks like this:
|
||||
*
|
||||
|
@ -50,6 +50,14 @@ do_modrdn(
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE, "do_modrdn\n", 0, 0, 0 );
|
||||
|
||||
if( op->o_bind_in_progress ) {
|
||||
Debug( LDAP_DEBUG_ANY, "do_modrdn: SASL bind in progress.\n",
|
||||
0, 0, 0 );
|
||||
send_ldap_result( conn, op, LDAP_SASL_BIND_IN_PROGRESS, NULL,
|
||||
"SASL bind in progress" );
|
||||
return LDAP_SASL_BIND_IN_PROGRESS;
|
||||
}
|
||||
|
||||
/*
|
||||
* Parse the modrdn request. It looks like this:
|
||||
*
|
||||
|
@ -38,6 +38,14 @@ do_search(
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE, "do_search\n", 0, 0, 0 );
|
||||
|
||||
if( op->o_bind_in_progress ) {
|
||||
Debug( LDAP_DEBUG_ANY, "do_search: SASL bind in progress.\n",
|
||||
0, 0, 0 );
|
||||
send_ldap_result( conn, op, LDAP_SASL_BIND_IN_PROGRESS, NULL,
|
||||
"SASL bind in progress" );
|
||||
return LDAP_SASL_BIND_IN_PROGRESS;
|
||||
}
|
||||
|
||||
/*
|
||||
* Parse the search request. It looks like this:
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user