要提高搜索性能,Directory Server 需拥有多个新的索引。
解决方法:使用现有目录信息树 (DIT) 完成对 Access Manager 的安装后,运行 db2index.pl 脚本以重建 Directory Server 索引。例如:
# ./db2index.pl -D "cn=Directory Manager" -w password -n userRoot
db2index.pl 脚本位于 DS-install-directory/slapd-hostname/ 目录下。