LDAP Delete
Valve for deleting entries in LDAP v3 directories
Introduction
Section titled “Introduction”Operates on the current item. By default item.id() is used as the LDAP DN. If dn_parameter is set, that value is used instead.
Prerequisites
Section titled “Prerequisites”Before using this valve the LdapClient module must be configured and deployed.
Configuration
Section titled “Configuration”Common LDAP valve configuration can be found here.
| Name | Description | Default value | Mandatory | Expanded |
|---|---|---|---|---|
dn_parameter | If not using item.id() as DN value. | N/A |
{ "name": "LDAPDelete", "config": { "destination": "default", "dn_parameter": "${item.dn}" }}When AuditModule is active and the LdapClient is configured with "delete": true, each successful delete operation emits an audit event.
Requires "delete": true in the LdapClient audit configuration.
{ "name": "LDAPDelete", "config": {}}{ "operation": "delete", "client_type": "ldap", "data_source": "default", "entity_type": "entry", "entity_id": "uid=demo,dc=example,dc=com", "changes": []}entity_id— the DN of the deleted entry, taken fromitem.id()changes— always empty; the entry is removed in its entirety