Skip to content

Fortified IDDocs

LDAP Add

Valve for adding entries to LDAP v3 directories

Before using this valve the LdapClient module must be configured and deployed.

Common LDAP valve configuration can be found here.

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.

NameDescriptionDefault valueMandatoryExpanded
attributesList of item properties to include as attributes.N/A
ignore_empty_valuesIgnore empty values in properties. The attribute is not sent to the LDAP client if empty.false
dn_parameterIf not using item.id() as DN value.N/A

When AuditModule is active and the LdapClient is configured with "create": true, each successful add operation emits an audit event.

Requires "create": true in the LdapClient audit configuration.

{
"name": "LDAPAdd",
"config": {
"attributes": ["cn", "sn", "objectClass"]
}
}
  • entity_id — the DN of the created entry, taken from item.id()
  • changes — one entry per attribute listed in attributes