mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
returning LDAP return code
This commit is contained in:
parent
286986c4e8
commit
3e6f9f4ee5
@ -100,7 +100,7 @@ ldbm_back_delete(
|
|||||||
send_ldap_error( op, rs, LDAP_INSUFFICIENT_ACCESS,
|
send_ldap_error( op, rs, LDAP_INSUFFICIENT_ACCESS,
|
||||||
"no write access to entry" );
|
"no write access to entry" );
|
||||||
|
|
||||||
rc = 1;
|
rc = LDAP_INSUFFICIENT_ACCESS;
|
||||||
goto return_results;
|
goto return_results;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -123,7 +123,7 @@ ldbm_back_delete(
|
|||||||
|
|
||||||
if ( rs->sr_ref ) ber_bvarray_free( rs->sr_ref );
|
if ( rs->sr_ref ) ber_bvarray_free( rs->sr_ref );
|
||||||
|
|
||||||
rc = 1;
|
rc = LDAP_REFERRAL;
|
||||||
goto return_results;
|
goto return_results;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -261,7 +261,7 @@ ldbm_back_delete(
|
|||||||
|
|
||||||
rs->sr_err = LDAP_SUCCESS;
|
rs->sr_err = LDAP_SUCCESS;
|
||||||
send_ldap_result( op, rs );
|
send_ldap_result( op, rs );
|
||||||
rc = 0;
|
rc = LDAP_SUCCESS;
|
||||||
|
|
||||||
return_results:;
|
return_results:;
|
||||||
if( p != NULL ) {
|
if( p != NULL ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user