Commit 71c2c1c9 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

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).
parent eb8f927a
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment