mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-16 11:57:39 -05:00
Change "subtree delete not supported" diagnostic text to
"subordinate objects must be deleted first" as the "not supported" language implies some feature of LDAP is not implemented in slapd(8).
This commit is contained in:
parent
eb8f927af3
commit
71c2c1c9fe
3 changed files with 3 additions and 3 deletions
|
|
@ -345,7 +345,7 @@ retry: /* transaction retry */
|
|||
": non-leaf %s\n",
|
||||
op->o_req_dn.bv_val, 0, 0);
|
||||
rs->sr_err = LDAP_NOT_ALLOWED_ON_NONLEAF;
|
||||
rs->sr_text = "subtree delete not supported";
|
||||
rs->sr_text = "subordinate objects must be deleted first";
|
||||
break;
|
||||
default:
|
||||
Debug(LDAP_DEBUG_ARGS,
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ ldbm_back_delete(
|
|||
op->o_req_dn.bv_val, 0, 0);
|
||||
|
||||
send_ldap_error( op, rs, LDAP_NOT_ALLOWED_ON_NONLEAF,
|
||||
"subtree delete not supported" );
|
||||
"subordinate objects must be deleted first");
|
||||
goto return_results;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ backsql_delete( Operation *op, SlapReply *rs )
|
|||
"entry \"%s\" has children\n",
|
||||
op->o_req_dn.bv_val, 0, 0 );
|
||||
rs->sr_err = LDAP_NOT_ALLOWED_ON_NONLEAF;
|
||||
rs->sr_text = "subtree delete not supported";
|
||||
rs->sr_text = "subordinate objects must be deleted first";
|
||||
/* fallthru */
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue