mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-29 01:57:33 -05:00
Set appropriate error code, when trying to delete non-leaf
entry from cn=config
This commit is contained in:
parent
0ae659ad87
commit
c70165c294
1 changed files with 1 additions and 1 deletions
|
|
@ -6177,7 +6177,7 @@ config_back_delete( Operation *op, SlapReply *rs )
|
|||
rs->sr_matched = last->ce_entry->e_name.bv_val;
|
||||
rs->sr_err = LDAP_NO_SUCH_OBJECT;
|
||||
} else if ( ce->ce_kids ) {
|
||||
rs->sr_err = LDAP_UNWILLING_TO_PERFORM;
|
||||
rs->sr_err = LDAP_NOT_ALLOWED_ON_NONLEAF;
|
||||
} else if ( op->o_abandon ) {
|
||||
rs->sr_err = SLAPD_ABANDON;
|
||||
} else if ( ce->ce_type == Cft_Overlay ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue