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:
Kurt Zeilenga 2000-02-01 01:22:06 +00:00
parent 0919e503cd
commit 3708530620
7 changed files with 8 additions and 0 deletions

View File

@ -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 ) {

View File

@ -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 ) {

View File

@ -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 */

View File

@ -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 ) {

View File

@ -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 ) {

View File

@ -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 ) {

View File

@ -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 */