#include <ldap.h> int ldap_delete_ext_s(LDAP *ld, const char *dn, LDAPControl **serverctrls, LDAPControl **clientctrls)
The ldap_delete_ext_s() routine initiates a synchronous LDAP operation to delete a leaf entry with controls.
Note that the entry to delete must be a leaf entry (that is, it must have no children). Deletion of entire subtrees in a single operation is not supported by LDAP.
No IBM® i authority is required. All authority checking is done by the LDAP server.
The ldap_delete_ext_s() API will return an LDAP error code if not successful. See LDAP Client API Error Conditions for possible LDAP error code values.
The following message may be sent from this function.
Message ID | Error Message Text |
---|---|
CPF3CF2 E | Error(s) occurred during running of ldap_delete_ext_s API. |
The ldap_delete_ext_s() API supports LDAP V3 server controls and client controls.
[ Back to top | LDAP APIs | APIs by category ]