1SLAPDN(8C) SLAPDN(8C)
2
3
4
6 slapdn - Check a list of string-represented DNs based on schema syntax.
7
9 /usr/sbin/slapdn [-v] [-d level] [-f slapd.conf] [-F confdir] [-N | -P]
10 DN [...]
11
13 Slapdn is used to check the conformance of a DN based on the schema
14 defined in slapd(8) and that loaded via slapd.conf(5). It opens the
15 slapd.conf(5) configuration file, reads in the schema definitions, and
16 then parses the DN list given on the command-line.
17
19 -v enable verbose mode.
20
21 -d level
22 enable debugging messages as defined by the specified level.
23
24 -f slapd.conf
25 specify an alternative slapd.conf(5) file.
26
27 -F confdir
28 specify a config directory. If both -f and -F are specified,
29 the config file will be read and converted to config directory
30 format and written to the specified directory. If neither
31 option is specified, an attempt to read the default config
32 directory will be made before trying to use the default config
33 file. If a valid config directory exists then the default config
34 file is ignored.
35
36 -N only output a normalized form of the DN, suitable to be used in
37 a normalization tool; incompatible with -P.
38
39 -P only output a prettified form of the DN, suitable to be used in
40 a check and beautification tool; incompatible with -N.
41
43 To check a DN give the command:
44
45 /usr/sbin/slapdn -f //etc/openldap/slapd.conf -v DN
46
48 ldap(3), slapd(8) slaptest(8)
49
50 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
51
53 OpenLDAP is developed and maintained by The OpenLDAP Project
54 (http://www.openldap.org/). OpenLDAP is derived from University of
55 Michigan LDAP 3.3 Release.
56
57
58
59OpenLDAP 2.3.34 2007/2/16 SLAPDN(8C)