slapdn

From RaySoft

slapdn is used to check the conformance of a 'DN' based on the schema defined in slapd and that loaded via slapd.conf. It opens the slapd.conf configuration file, reads in the schema definitions, and then parses the 'DN' list given on the command-line.[1]

Documentation

Syntax

slapdn [PARAMETER ...] DN

Parameters

-f FILE
Specify an alternative slapd.conf FILE.
-v
Enable verbose mode.

Examples

Check a 'DN'
slapdn -v -f '/etc/openldap/slapd.conf' 'uid=alex,ou=users,dc=raysoft,dc=loc'

References

  1. man 8 'slapdn'