Pre-operation plug-ins

Before an LDAP operation is performed, you can execute the following pre-operation functions.

SLAPI_PLUGIN_PRE_BIND_FN
A function to call before the Directory Server executes an LDAP bind operation.
SLAPI_PLUGIN_PRE_UNBIND_FN
A function to call before the Directory Server executes an LDAP unbind operation.
SLAPI_PLUGIN_PRE_ADD_FN
A function to call before the Directory Server executes an LDAP add operation.
SLAPI_PLUGIN_PRE_DELETE_FN
A function to call before the Directory Server executes an LDAP delete operation.
SLAPI_PLUGIN_PRE_SEARCH_FN
A function to call before the Directory Server executes an LDAP search operation.
SLAPI_PLUGIN_PRE_COMPARE_FN
A function to call before the Directory Server executes an LDAP compare operation.
SLAPI_PLUGIN_PRE_MODIFY_FN
A function to call before the Directory Server executes an LDAP modify operation.
SLAPI_PLUGIN_PRE_MODRDN_FN
A function to call before the Directory Server executes an LDAP modify RDN database operation.