1 .TH SLAPTEST 8C "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" Copyright 2004-2009 The OpenLDAP Foundation All Rights Reserved.
3 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 slaptest \- Check the suitability of the OpenLDAP slapd.conf file
10 .BI \-d \ debug-level\fR]
12 .BI \-f \ slapd.conf\fR]
16 .BI \-o \ option\fR[ = value\fR]]
27 is used to check the conformance of the
32 configuration file or the
34 backend, and parses it according to the general and the backend-specific
35 rules, checking its sanity.
40 enable debugging messages as defined by the specified
47 specify an alternative
52 specify a config directory.
57 are specified, the config file will be read and converted to
58 config directory format and written to the specified directory.
59 If neither option is specified, slaptest will attempt to read the
60 default config directory before trying to use the default
61 config file. If a valid config directory exists then the
62 default config file is ignored. If dry-run mode is also specified,
63 no conversion will occur.
65 .BI \-o \ option\fR[ = value\fR]
70 Possible generic options/values are:
73 syslog=<subsystems> (see `\-s' in slapd(8))
74 syslog\-level=<level> (see `\-S' in slapd(8))
75 syslog\-user=<user> (see `\-l' in slapd(8))
80 Be extremely quiet: only the exit code indicates success (0) or not
84 enable dry-run mode (i.e. don't fail if databases cannot be opened,
96 SBINDIR/slaptest \-f /ETCDIR/slapd.conf \-v
104 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)