1 .TH SLAPINDEX 8C "RELEASEDATE" "OpenLDAP LDVERSION"
3 .\" Copyright 1998-2007 The OpenLDAP Foundation All Rights Reserved.
4 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
6 slapindex \- SLAPD index to LDIF utility
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
32 Databases configured as
34 of this one are also re-indexed, unless \fB-g\fP is specified.
36 All files eventually created by
38 will belong to the identity
40 is run as, so make sure you either run
42 with the same identity
44 will be run as (see option
48 or change file ownership before running
53 Use the specified \fIsuffix\fR to determine which database to
54 generate output for. The \-b cannot be used in conjunction
60 enable continue (ignore errors) mode.
63 enable debugging messages as defined by the specified
70 specify an alternative
75 specify a config directory.
80 are specified, the config file will be read and converted to
81 config directory format and written to the specified directory.
82 If neither option is specified, an attempt to read the
83 default config directory will be made before trying to use the default
84 config file. If a valid config directory exists then the
85 default config file is ignored.
88 disable subordinate gluing. Only the specified database will be
89 processed, and not its glued subordinates (if any).
92 Generate output for the \fIdbnum\fR\-th database listed in the
93 configuration file. The
95 cannot be used in conjunction with the
99 .BI \-o " option[=value]"
104 Possible generic options/values are:
107 syslog=<subsystems> (see `\-s' in slapd(8))
108 syslog-level=<level> (see `\-S' in slapd(8))
109 syslog-user=<user> (see `\-l' in slapd(8))
114 enable quick (fewer integrity checks) mode. Performs no consistency checks
115 when writing the database. Improves indexing time,
117 the database will most likely be unusable if any errors or
121 enable truncate mode. Truncates (empties) an index database before indexing
122 any entries. May only be used with Quick mode.
129 should not be running (at least, not in read-write
130 mode) when you do this to ensure consistency of the database.
132 This command provides ample opportunity for the user to obtain
133 and drink their favorite beverage.
135 To reindex your SLAPD database, give the command:
142 To regenerate the index for only a specific attribute, e.g. "uid",
147 SBINDIR/slapindex uid
157 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)