Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The LDAP_SERVER_TREE_DELETE_EX_OID control is used with an LDAP delete operation to cause the server to recursively delete the entire subtree of objects located underneath the object specified in the delete operation. The object specified in the delete operation is also deleted.
When sending this control to the DC, the controlValue field is set to the BER encoding of the following ASN.1 structure.
-
TreeDeleteExRequestValue ::= SEQUENCE { countOfObjectsToDelete INTEGER }
where countOfObjectsToDelete is a limit on the number of objects that will be deleted while processing this control. If the value of countOfObjectsToDelete is less than 2, then the value 2 is used rather than the value specified. If the value of countOfObjectsToDelete is greater than 16,384, then the value 16,384 is used.
The server deletes between 1 and countOfObjectsToDelete objects, inclusive. If the server does not delete the entire tree in a single LDAP delete request, it MUST NOT delete the root of the tree (the object specified in the delete operation), and MUST return the error code adminLimitExceeded / ERROR_DS_TREE_DELETE_NOT_FINISHED.