Openldap : overlay accesslog not found -
i trying configure accesslog. have changed slapd.conf file , trying test using slaptest getting error while executing slaptest -f /etc/openldap/slapd.conf.
slapd.conf configuration:
# see slapd.conf(5) details on configuration options. # file should not 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 i getting error @ overlay accesslog
overlay "accesslog" not found slaptest: bad configuration file! am missing something..?
i found issue on own. have not compiled openldap --enable overlay.
to solve issue
- i have downloaded openldap src
- ./configure --enable-overlays (./configure [options] [variable=value ...])
- now modify slapd.conf load accesslog.la , execute slaptest -f /etc/openldap/slapd.conf. wont find error.
- restart slapd.
Comments
Post a Comment