1SLAPDN(8C) SLAPDN(8C)
2
3
4
6 slapdn - Check a list of string-represented LDAP DNs based on schema
7 syntax
8
10 /usr/sbin/slapdn [-d debug-level] [-f slapd.conf] [-F confdir] [-N|-P]
11 [-o option[=value]] [-v] DN [...]
12
14 Slapdn is used to check the conformance of a DN based on the schema
15 defined in slapd(8) and that loaded via slapd.conf(5). It opens the
16 slapd.conf(5) configuration file or the slapd-config (5) backend, reads
17 in the schema definitions, and then parses the DN list given on the
18 command-line.
19
21 -d debug-level
22 enable debugging messages as defined by the specified debug-
23 level; see slapd(8) for details.
24
25 -f slapd.conf
26 specify an alternative slapd.conf(5) file.
27
28 -F confdir
29 specify a config directory. If both -f and -F are specified,
30 the config file will be read and converted to config directory
31 format and written to the specified directory. If neither
32 option is specified, an attempt to read the default config
33 directory will be made before trying to use the default config
34 file. If a valid config directory exists then the default config
35 file is ignored.
36
37 -N only output a normalized form of the DN, suitable to be used in
38 a normalization tool; incompatible with -P.
39
40 -o option[=value]
41 Specify an option with a(n optional) value. Possible generic
42 options/values are:
43
44 syslog=<subsystems> (see `-s' in slapd(8))
45 syslog-level=<level> (see `-S' in slapd(8))
46 syslog-user=<user> (see `-l' in slapd(8))
47
48
49 -P only output a prettified form of the DN, suitable to be used in
50 a check and beautification tool; incompatible with -N.
51
52 -v enable verbose mode.
53
55 To check a DN give the command:
56
57 /usr/sbin/slapdn -f //etc/openldap/slapd.conf -v DN
58
60 ldap(3), slapd(8), slaptest(8)
61
62 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
63
65 OpenLDAP Software is developed and maintained by The OpenLDAP Project
66 <http://www.openldap.org/>. OpenLDAP Software is derived from the Uni‐
67 versity of Michigan LDAP 3.3 Release.
68
69
70
71OpenLDAP 2.4.46 2018/03/22 SLAPDN(8C)