slapindex

From RaySoft

slapindex is used to regenerate slapd indices based upon the current contents of a database. It opens the given database determined by the database number or suffix and updates the indices for all values of all attributes of all entries. Databases configured as subordinate of this one are also re-indexed, unless -g is specified.[1]

Documentation

Syntax

slapindex [PARAMETER ...]

Parameters

-b SUFFIX
Use the specified SUFFIX to determine which database to generate output for. The -b cannot be used in conjunction with the -n option.
-n NUMBER
Generate output for the NUMBERth database listed in the configuration file. The -n cannot be used in conjunction with the -b option.

References

  1. man 8 'slapindex'