Overview#The subtree delete Control is a type of control that can be attached to a delete request that will allow the entry and all of its subordinate entries to be deleted. Normal delete operations may only target leaf entries, but the subtree delete control may be used to target non-leaf entries.
The subtree delete request control has an OID of "1.2.840.113518.104.22.1685" with no value. There is no corresponding response control.
ldapdelete -p 1389 -h localhost -D "cn=directory manager" -w password -J 1.2.840.113522.214.171.1245 ou=People,dc=example,dc=com Processing DELETE request for ou=People,dc=example,dc=com
The server MUST list that it recognizes this control in the supportedControl attribute in the root DSE.
We only know of this being defined in Tree Delete Control draft-armijo-ldap-treedelete-02.txt
LDAP Server Implementations Supporting Subtree Delete Control Control#We only know of this being supported (well listed) in:
If you know more, let us know.