1
1
.TH SLAPTEST 8C "RELEASEDATE" "OpenLDAP LDVERSION"
2
2
.\" Copyright 2004-2009 The OpenLDAP Foundation All Rights Reserved.
3
3
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
4
.\" $OpenLDAP: pkg/ldap/doc/man/man8/slaptest.8,v 1.7.2.9 2009/01/30 19:34:31 quanah Exp $
4
.\" $OpenLDAP: pkg/ldap/doc/man/man8/slaptest.8,v 1.7.2.10 2009/06/03 01:42:01 quanah Exp $
6
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]]
25
32
configuration file or the
27
34
backend, and parses it according to the general and the backend-specific
28
35
rules, checking its sanity.
33
40
enable debugging messages as defined by the specified
40
47
specify an alternative
45
52
specify a config directory.
50
57
are specified, the config file will be read and converted to
51
58
config directory format and written to the specified directory.
52
59
If neither option is specified, slaptest will attempt to read the
53
60
default config directory before trying to use the default
54
61
config file. If a valid config directory exists then the
55
default config file is ignored. If dryrun mode is also specified,
62
default config file is ignored. If dry-run mode is also specified,
56
63
no conversion will occur.
58
.BI \-o " option[=value]"
65
.BI \-o \ option\fR[ = value\fR]
63
70
Possible generic options/values are:
66
73
syslog=<subsystems> (see `\-s' in slapd(8))
67
syslog-level=<level> (see `\-S' in slapd(8))
68
syslog-user=<user> (see `\-l' in slapd(8))
74
syslog\-level=<level> (see `\-S' in slapd(8))
75
syslog\-user=<user> (see `\-l' in slapd(8))
73
80
Be extremely quiet: only the exit code indicates success (0) or not
77
enable dryrun mode (i.e. don't fail if databases cannot be opened,
84
enable dry-run mode (i.e. don't fail if databases cannot be opened,
78
85
but config is fine).