我正在尝试配置访问日志。我已更改 slapd.conf 文件并尝试使用 slaptest 进行测试,但在执行slaptest -f /etc/openldap/slapd.conf时出现错误。
slapd.conf 配置:
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
.
.
modulepath /usr/lib/openldap/
moduleload accesslog.la
overlay accesslog
logdb "cn=accesslog"
logops writes
logsuccess TRUE
我在覆盖访问日志中收到错误
overlay "accesslog" not found
slaptest: bad configuration file!
我错过了什么..?