您可以使用 DSCC 執行此作業。如需相關資訊,請參閱目錄服務控制中心介面與 DSCC 線上說明。
重新編製尾碼上的所有索引。
$ dsconf reindex -h host -p port suffix-DN
例如,若要初始化 dc=example,dc=com 尾碼上的所有索引,請使用此指令:
$ dsconf reindex -h host -p port dc=example,dc=com