[Date Prev][Date Next]
openldap logging setup as a non-root user
- To: firstname.lastname@example.org
- Subject: openldap logging setup as a non-root user
- From: Konstantinos Tripolitis <email@example.com>
- Date: Thu, 7 Jan 2010 11:22:57 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=4CVGz2bb2I3ONXh0xnHvm1D1jr1c1Zooy8NAEDtNlDw=; b=Paiwppr8IkT8dAhLS6tEfgBjMWMqT9vaVdbTujtAICf6Tyt8XAXdkPNHMbwHZuD+cl 5/CMg+TjpiqP5UEGBkuHNAgzIaw0gQi3EW46I7GeeiAUPdJTSzZU9NL7jPbWMpcJaNNw d4uqb3fghSakUY4nBDxpJQCtwf8b31b1jCSKI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KmfAMmqGb3T9P2ir57xsR8c2H+uQuQ57A3LOY58hlvGNqlfU2wrTkqY73uKLqo9t4i fRgv5aBo953p8T7wHTFBnH4jw/Mlvo0Oj9NjZ3j2aQgPpH/JbshaYNuVyteY0VKU/hIP KMkk8D4W7JiLn0ytBGelh79r/dsYRgCOJz3ZQ=
I was wondering whether it is possible to create an openldap log file as a regular user.
I have already tried editing syslog.conf with local4.* and restarting syslogd. This works fine, but requires root access and I am interested in enabling ldap logging as a non-root user.
I have compiled openldap 2.3.27 as a regular user on Redhat Enterprise Linux 5.2 with the following configuration:
I found some information about a "logfile" directive that can be used in slapd.conf (http://www.zytrax.com/books/ldap/ch6/#logfile), but I do not know if it is valid.
I added the following in my slapd.conf and restarted slapd (I had already created the slapd.log file before restarting slapd):
#define the logfile
#define the level of detail in the logs
However this configuration does not seem to work.
Any advise on this issue would be more than welcomed.
Thank you and best regards,