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

Re: Logging to syslog



Am Wed, 02 Feb 2011 19:43:27 +0100
schrieb John Espiro <john_espiro@yahoo.com>:

> I have tied in a few things such as openid-ldap and openfire to use my
> ldap backend for authentication.  I am wondering if it is possible to
> collect error logs for any invalid attempt that a user tries with
> these various applications.  Rather than handling it at the
> application level, can I get openldap to log these events?  If so,
> can someone point me to a link that explains it?

OpenLDAP logs to local4, thus you may configure syslog to print slapd
logs to a particular logfile. Next set a decent loglevel, stats or acl,
grep slapd.log for err=49

-Dieter

-- 
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:DA147B05
53°37'09,95"N
10°08'02,42"E