]> git.sur5r.net Git - openldap/blob - doc/man/man8/slaptest.8
update and refresh man pages
[openldap] / doc / man / man8 / slaptest.8
1 .TH SLAPTEST 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 slaptest \- Check the suitability of the slapd.conf file.
6 .SH SYNOPSIS
7 .B SBINDIR/slaptest
8 .B [\-d level]
9 .B [\-f slapd.conf]
10 .B [\-F confdir]
11 .B [\-u]
12 .B [\-v]
13 .LP
14 .SH DESCRIPTION
15 .LP
16 .B Slaptest
17 is used to check the conformance of the
18 .BR slapd.conf (5)
19 configurtion file.
20 It opens the
21 .BR slapd.conf (5)
22 configuration file, and parses it according to the general 
23 and the backend-specific rules, checking its sanity.
24 .LP
25 .SH OPTIONS
26 .TP
27 .BI \-d " level"
28 enable debugging messages as defined by the specified
29 .IR level .
30 .TP
31 .BI \-f " slapd.conf"
32 specify an alternative
33 .BR slapd.conf (5)
34 file.
35 .TP
36 .BI \-F " confdir"
37 specify a config directory.
38 .TP
39 .B \-u
40 enable dryrun mode (i.e. don't fail if databases cannot be opened,
41 but config is fine).
42 .TP
43 .B \-v
44 enable verbose mode.
45 .SH EXAMPLES
46 To check a 
47 .BR slapd.conf (5)
48 give the command:
49 .LP
50 .nf
51 .ft tt
52         SBINDIR/slaptest -f /ETCDIR/slapd.conf -v
53 .ft
54 .fi
55 .SH "SEE ALSO"
56 .BR ldap (3),
57 .BR slapd (8)
58 .BR slapdn (8)
59 .LP
60 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
61 .SH ACKNOWLEDGEMENTS
62 .B OpenLDAP
63 is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
64 .B OpenLDAP
65 is derived from University of Michigan LDAP 3.3 Release.