SLAPDN(8C)
π NAME π
slapdn β bestie, this one checks a whole list of string-represented LDAP DNs against the schema syntax. It's giving DN conformity check energy. π
β¨ SYNOPSIS β¨
/usr/bin/slapdn [-d debug-level] [-f slapd.conf] [-F confdir] [-N|-P]
[-o option[=value]] [-v] DN [...]
π¦ DESCRIPTION π¦
Okay so, slapdn exists to check the conformance of a DN, and it does that based on the schema that's defined in slapd(8) and loaded up via slapd.conf(5). No cap, that's the whole vibe. π§
Here's how it moves: it opens the slapd.conf(5) configuration file or the slapd-config(5) backend, reads in all the schema definitions, and then β and this is the main character moment β it parses the DN list you handed it on the command-line. Literally just DN after DN, getting looked at. Periodt. π
π OPTIONS π
-ddebug-level β turns on debugging messages at whatever debug-level you specify. Want the deets? Go look atslapd(8), bestie. π-fslapd.conf β points at an alternativeslapd.conf(5)file, if you're not feeling the default one. π-Fconfdir β specifies a config directory. Now listen closely because this one has layers, okay?- If you pass both
-fand-F, the config file gets read and converted into config directory format, and then written to the directory you specified. - If you pass neither option, an attempt to read the default config directory will be made before trying to use the default config file.
- And if a valid config directory exists, then the default config file is ignored. Like, fully ignored. Not invited to the party. π
- If you pass both
-Nβ only outputs a normalized form of the DN β the kind of thing you'd use inside a normalization tool. Lowkey incompatible with-P, so don't try to do both. π«-ooption[=value] β specify an option with a(n optional) value. The possible generic options/values are:
syslog=<subsystems> (see `-s' in slapd(8))
syslog-level=<level> (see `-S' in slapd(8))
syslog-user=<user> (see `-l' in slapd(8))
-Pβ only outputs a prettified form of the DN β perfect for a check and beautification tool, honestly the aesthetic option. πΈ Incompatible with-N. She's exclusive.-vβ enables verbose mode. She's talkative. π£οΈ
π EXAMPLES π
Wanna check a DN? Run this, bestie:
/usr/bin/slapdn -f //etc/openldap/slapd.conf -v DN
(Yes, that's a double slash up in there β copy it exactly, don't get creative. π)
β SEE ALSO β
ldap(3), slapd(8), slaptest(8)
"OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
π ACKNOWLEDGEMENTS π
OpenLDAP Software is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>. OpenLDAP Software is derived from the University of Michigan LDAP 3.3 Release.
And that's a wrap on SLAPDN(8C), bestie π«Ά β this run was OpenLDAP 2.7.2, dated 2026/10/21. Slay, ate, no crumbs. πβ¨
π¦ where this page comes from
- arch rolling: openldap 2.7.2-2 Β· OLDAP-2.8
- Copyright 2004-2026 The OpenLDAP Foundation All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms