1 .TH SLAPINDEX 8C "RELEASEDATE" "OpenLDAP LDVERSION"
2 .\" Copyright 1998-2009 The OpenLDAP Foundation All Rights Reserved.
3 .\" 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 config database
97 is always the first database, so use
102 cannot be used in conjunction with the
106 .BI \-o " option[=value]"
111 Possible generic options/values are:
114 syslog=<subsystems> (see `\-s' in slapd(8))
115 syslog-level=<level> (see `\-S' in slapd(8))
116 syslog-user=<user> (see `\-l' in slapd(8))
121 enable quick (fewer integrity checks) mode. Performs no consistency checks
122 when writing the database. Improves indexing time,
124 the database will most likely be unusable if any errors or
128 enable truncate mode. Truncates (empties) an index database before indexing
129 any entries. May only be used with Quick mode.
136 should not be running (at least, not in read-write
137 mode) when you do this to ensure consistency of the database.
139 This command provides ample opportunity for the user to obtain
140 and drink their favorite beverage.
142 To reindex your SLAPD database, give the command:
149 To regenerate the index for only a specific attribute, e.g. "uid",
154 SBINDIR/slapindex uid
164 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)