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
27 indices based upon the current contents of a database.
28 It opens the given database determined by the database number or
29 suffix and updates the indices for all values of all attributes
31 Databases configured as
33 of this one are also re-indexed, unless \fB-g\fP is specified.
35 All files eventually created by
37 will belong to the identity
39 is run as, so make sure you either run
41 with the same identity
43 will be run as (see option
47 or change file ownership before running
52 Use the specified \fIsuffix\fR to determine which database to
53 generate output for. The \-b cannot be used in conjunction
59 enable continue (ignore errors) mode.
62 enable debugging messages as defined by the specified
69 specify an alternative
74 specify a config directory.
79 are specified, the config file will be read and converted to
80 config directory format and written to the specified directory.
81 If neither option is specified, an attempt to read the
82 default config directory will be made before trying to use the default
83 config file. If a valid config directory exists then the
84 default config file is ignored.
87 disable subordinate gluing. Only the specified database will be
88 processed, and not its glued subordinates (if any).
91 Generate output for the \fIdbnum\fR\-th database listed in the
92 configuration file. The
94 cannot be used in conjunction with the
98 .BI \-o " option[=value]"
103 Possible generic options/values are:
106 syslog=<subsystems> (see `\-s' in slapd(8))
107 syslog-level=<level> (see `\-S' in slapd(8))
108 syslog-user=<user> (see `\-l' in slapd(8))
113 enable quick (fewer integrity checks) mode. Performs no consistency checks
114 when writing the database. Improves indexing time,
116 the database will most likely be unusable if any errors or
124 should not be running (at least, not in read-write
125 mode) when you do this to ensure consistency of the database.
127 This command provides ample opportunity for the user to obtain
128 and drink their favorite beverage.
130 To reindex your SLAPD database, give the command:
137 To regenerate the index for only a specific attribute, e.g. "uid",
142 SBINDIR/slapindex uid
152 "OpenLDAP Administrator's Guide" (http://www.OpenLDAP.org/doc/admin/)