1SLAPTEST(8C)                                                      SLAPTEST(8C)
2
3
4

NAME

6       slaptest - Check the suitability of the slapd.conf file.
7

SYNOPSIS

9       /usr/sbin/slaptest [-d level] [-f slapd.conf] [-F confdir] [-u] [-v]
10

DESCRIPTION

12       Slaptest is used to check the conformance of the slapd.conf(5) configuā€
13       ration file.  It opens the slapd.conf(5) configuration file, and parses
14       it  according  to  the general and the backend-specific rules, checking
15       its sanity.
16

OPTIONS

18       -d level
19              enable debugging messages as defined by the specified level.
20
21       -f slapd.conf
22              specify an alternative slapd.conf(5) file.
23
24       -F confdir
25              specify a config directory.  If both -f and  -F  are  specified,
26              the  config  file will be read and converted to config directory
27              format and written  to  the  specified  directory.   If  neither
28              option  is  specified, slaptest will attempt to read the default
29              config directory before trying to use the default  config  file.
30              If  a valid config directory exists then the default config file
31              is ignored. If dryrun mode is also specified, no conversion will
32              occur.
33
34       -u     enable  dryrun  mode  (i.e.  don't  fail  if databases cannot be
35              opened, but config is fine).
36
37       -v     enable verbose mode.
38

EXAMPLES

40       To check a slapd.conf(5) give the command:
41
42            /usr/sbin/slaptest -f //etc/openldap/slapd.conf -v
43

SEE ALSO

45       ldap(3), slapd(8) slapdn(8)
46
47       "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
48

ACKNOWLEDGEMENTS

50       OpenLDAP  is  developed  and  maintained  by   The   OpenLDAP   Project
51       (http://www.openldap.org/).   OpenLDAP  is  derived  from University of
52       Michigan LDAP 3.3 Release.
53
54
55
56OpenLDAP 2.3.34                    2007/2/16                      SLAPTEST(8C)
Impressum