mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Didn't return after returning unknown critical control.
Noticed that abandon and unbind don't have control support... something for another day.
This commit is contained in:
parent
0919e503cd
commit
3708530620
@ -153,6 +153,8 @@ do_add( Connection *conn, Operation *op )
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
send_ldap_result( conn, op, rc,
|
||||
NULL, NULL, NULL, NULL );
|
||||
entry_free( e );
|
||||
return rc;
|
||||
}
|
||||
|
||||
if ( global_readonly || be->be_readonly ) {
|
||||
|
@ -290,6 +290,7 @@ do_bind(
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
send_ldap_result( conn, op, rc,
|
||||
NULL, NULL, NULL, NULL );
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if ( be->be_bind ) {
|
||||
|
@ -116,6 +116,7 @@ do_compare(
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
send_ldap_result( conn, op, rc,
|
||||
NULL, NULL, NULL, NULL );
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
/* deref suffix alias if appropriate */
|
||||
|
@ -92,6 +92,7 @@ do_delete(
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
send_ldap_result( conn, op, rc,
|
||||
NULL, NULL, NULL, NULL );
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if ( global_readonly || be->be_readonly ) {
|
||||
|
@ -184,6 +184,7 @@ do_modify(
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
send_ldap_result( conn, op, rc,
|
||||
NULL, NULL, NULL, NULL );
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if ( global_readonly || be->be_readonly ) {
|
||||
|
@ -178,6 +178,7 @@ do_modrdn(
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
send_ldap_result( conn, op, rc,
|
||||
NULL, NULL, NULL, NULL );
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if ( global_readonly || be->be_readonly ) {
|
||||
|
@ -210,6 +210,7 @@ do_search(
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
send_ldap_result( conn, op, rc,
|
||||
NULL, NULL, NULL, NULL );
|
||||
goto return_results;
|
||||
}
|
||||
|
||||
/* deref the base if needed */
|
||||
|
Loading…
Reference in New Issue
Block a user