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

NAME

6       slapindex - SLAPD index to LDIF utility
7

SYNOPSIS

9       /usr/sbin/slapindex  [-v]  [-c]  [-g]  [-q]  [-d level] [-b suffix] [-n
10       dbnum] [-f slapd.conf] [-F confdir]
11

DESCRIPTION

13       Slapindex is used to regenerate slapd(8) indices based upon the current
14       contents  of a database.  It opens the given database determined by the
15       database number or suffix and updates the indices for all values of all
16       attributes of all entries.  Databases configured as subordinate of this
17       one are also re-indexed, unless -g is specified.
18

OPTIONS

20       -v     enable verbose mode.
21
22       -c     enable continue (ignore errors) mode.
23
24       -g     disable subordinate gluing.  Only the specified database will be
25              processed, and not its glued subordinates (if any).
26
27       -q     enable  quick (fewer integrity checks) mode. Performs no consis‐
28              tency checks when writing the database. Improves indexing  time,
29              however  the database will most likely be unusable if any errors
30              or interruptions occur.
31
32       -d level
33              enable debugging messages as defined by the specified level.
34
35       -b suffix
36              Use the specified suffix to determine which database to generate
37              output  for.   The  -b cannot be used in conjunction with the -n
38              option.
39
40       -n dbnum
41              Generate output for the dbnum-th database listed in the configu‐
42              ration  file.   The -n cannot be used in conjunction with the -b
43              option.
44
45       -f slapd.conf
46              specify an alternative slapd.conf(5) file.
47
48       -F confdir
49              specify a config directory.  If both -f and  -F  are  specified,
50              the  config  file will be read and converted to config directory
51              format and written  to  the  specified  directory.   If  neither
52              option  is  specified,  an  attempt  to  read the default config
53              directory will be made before trying to use the  default  config
54              file. If a valid config directory exists then the default config
55              file is ignored.
56

LIMITATIONS

58       Your slapd(8) should not be running (at least, not in read-write  mode)
59       when you do this to ensure consistency of the database.
60
61       This  command  provides  ample  opportunity  for the user to obtain and
62       drink their favorite beverage.
63

EXAMPLES

65       To reindex your SLAPD database, give the command:
66
67            /usr/sbin/slapindex
68

SEE ALSO

70       ldap(3), ldif(5), slapadd(8), ldapadd(1), slapd(8)
71
72       "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
73

ACKNOWLEDGEMENTS

75       OpenLDAP  is  developed  and  maintained  by   The   OpenLDAP   Project
76       (http://www.openldap.org/).   OpenLDAP  is  derived  from University of
77       Michigan LDAP 3.3 Release.
78
79
80
81OpenLDAP 2.3.34                    2007/2/16                     SLAPINDEX(8C)
Impressum