1 .TH SLAPINDEX 8C "2008/07/16" "OpenLDAP 2.4.11"
2 .\" $OpenLDAP: pkg/ldap/doc/man/man8/slapindex.8,v 1.19.2.10 2008/02/11 23:26:40 kurt Exp $
3 .\" Copyright 1998-2008 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 slapindex \- Reindex entries in a SLAPD database
28 indices based upon the current contents of a database.
29 It opens the given database determined by the database number or
30 suffix and updates the indices for all values of all attributes
31 of all entries. If a list of specific attributes is provided
32 on the command line, only the indices for those attributes will
34 Databases configured as
36 of this one are also re-indexed, unless \fB-g\fP is specified.
38 All files eventually created by
40 will belong to the identity
42 is run as, so make sure you either run
44 with the same identity
46 will be run as (see option
50 or change file ownership before running
55 Use the specified \fIsuffix\fR to determine which database to
56 generate output for. The \-b cannot be used in conjunction
62 enable continue (ignore errors) mode.
65 enable debugging messages as defined by the specified
72 specify an alternative
77 specify a config directory.
82 are specified, the config file will be read and converted to
83 config directory format and written to the specified directory.
84 If neither option is specified, an attempt to read the
85 default config directory will be made before trying to use the default
86 config file. If a valid config directory exists then the
87 default config file is ignored.
90 disable subordinate gluing. Only the specified database will be
91 processed, and not its glued subordinates (if any).
94 Generate output for the \fIdbnum\fR\-th database listed in the
95 configuration file. The
97 cannot be used in conjunction with the
101 .BI \-o " option[=value]"
106 Possible generic options/values are:
109 syslog=<subsystems> (see `\-s' in slapd(8))
110 syslog-level=<level> (see `\-S' in slapd(8))
111 syslog-user=<user> (see `\-l' in slapd(8))
116 enable quick (fewer integrity checks) mode. Performs no consistency checks
117 when writing the database. Improves indexing time,
119 the database will most likely be unusable if any errors or
123 enable truncate mode. Truncates (empties) an index database before indexing
124 any entries. May only be used with Quick mode.
131 should not be running (at least, not in read-write
132 mode) when you do this to ensure consistency of the database.
134 This command provides ample opportunity for the user to obtain
135 and drink their favorite beverage.
137 To reindex your SLAPD database, give the command:
144 To regenerate the index for only a specific attribute, e.g. "uid",
149 /usr/sbin/slapindex uid
159 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)
161 .\" Shared Project Acknowledgement Text
162 .B "OpenLDAP Software"
163 is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>.
164 .B "OpenLDAP Software"
165 is derived from University of Michigan LDAP 3.3 Release.