]> git.sur5r.net Git - openldap/blob - doc/man/man8/slapdn.8
c2a54649caa560164450e6be793799870c42dcef
[openldap] / doc / man / man8 / slapdn.8
1 .TH SLAPDN 8C "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" Copyright 2004-2005 The OpenLDAP Foundation All Rights Reserved.
3 .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
4 .SH NAME
5 slapdn \- Check a list of string-represented DNs based on schema syntax.
6 .SH SYNOPSIS
7 .B SBINDIR/slapdn
8 .B [\-v]
9 .B [\-d level]
10 .B [\-f slapd.conf]
11 .B [\-F confdir]
12 .B [\-N | \-P]
13 .B DN [...]
14 .LP
15 .SH DESCRIPTION
16 .LP
17 .B Slapdn
18 is used to check the conformance of a DN based on the schema
19 defined in
20 .BR slapd (8)
21 and that loaded via 
22 .BR slapd.conf (5).
23 It opens the
24 .BR slapd.conf (5)
25 configuration file, reads in the schema definitions, and then
26 parses the 
27 .B DN
28 list given on the command-line.
29 .LP
30 .SH OPTIONS
31 .TP
32 .B \-v
33 enable verbose mode.
34 .TP
35 .BI \-d " level"
36 enable debugging messages as defined by the specified
37 .IR level .
38 .TP
39 .BI \-f " slapd.conf"
40 specify an alternative
41 .BR slapd.conf (5)
42 file.
43 .TP
44 .BI \-N
45 only output a normalized form of the DN, suitable to be used
46 in a normalization tool; incompatible with
47 .BR \-P .
48 .TP
49 .BI \-P
50 only output a prettified form of the DN, suitable to be used
51 in a check and beautification tool; incompatible with
52 .BR \-N .
53 .SH EXAMPLES
54 To check a
55 .B DN
56 give the command:
57 .LP
58 .nf
59 .ft tt
60         SBINDIR/slapdn -f /ETCDIR/slapd.conf -v DN
61 .ft
62 .fi
63 .SH "SEE ALSO"
64 .BR ldap (3),
65 .BR slapd (8)
66 .BR slaptest (8)
67 .LP
68 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
69 .SH ACKNOWLEDGEMENTS
70 .B OpenLDAP
71 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
72 .B OpenLDAP
73 is derived from University of Michigan LDAP 3.3 Release.