[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Overlay module accesslog on 2.3.4 - events not catched



Thanks Howard,

Placing the database definitions in the correct order it work nicely.

Regards,
Ettore

On 6/30/05, Howard Chu <hyc@symas.com> wrote:
> You have misunderstood. The overlay goes on the database(s) whose
> accesses you want logged, not on the logdb. The logdb is a separate
> database that is only used to store the log records. Please re-read the
> slapo-accesslog(5) man page. If you want logging enabled for
> "dc=my-domain,dc=com" then you must configure the overlay on that database.
> This should be
> 
> ...
> moduleload accesslog.la
> ...
> database bdb
> suffix cn=Changelog
> rootdn cn=Changelog
> rootpw secret
> directory /var/lib/ldap/changelog
> 
> database bdb
> suffix dc=my-domain,dc=com
> rootdn cn=manager,dc=my-domain,dc=com
> rootpw secret
> directory /var/lib/ldap/db
> overlay accesslog
> logdb cn=Changelog
> logops writes