I have spent too long on this!

Can someone give me a slapd invocation that will make slapd log
to syslog? And also a syslog.conf line too? I think I need a rest 8(

BTW, I'm using openldap 1.2.11 on FreeBSD 4.4-RELEASE and
qmail + 20010501 LDAP patch

Are there any issues with using OpenLDAP 2 instead? Reason I chose
openldap 1.2.11 was because it came with the FreeBSD ports. And I'm
using the ports collection for now because I'm trying to learn how
this all works. I'll revert to source later.

OpenLDAP config.status:
./configure  --localstatedir=/var/db --enable-shared --enable-wrappers \
--prefix=/usr/local i386--freebsd4.4 --enable-debug
I invoke slapd with
# /usr/local/libexec/slapd -s debug -l LOCAL4

Also: /etc/syslog.conf 
# $FreeBSD: src/etc/syslog.conf,v 1.13.2.2 2001/02/26 09:26:11 phk Exp $
#
#       Spaces are NOT valid field separators in this file.
#       Consult the syslog.conf(5) manpage.
*.err;kern.debug;auth.notice;mail.crit          /dev/console
*.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages
security.*                                      /var/log/security
mail.info                                       /var/log/maillog
lpr.info                                        /var/log/lpd-errs
cron.*                                          /var/log/cron
local4.*                                        /var/log/ldap.debug
# ls -l /var/log/ldap.debug 
-rw-r--r--  1 root  wheel  0 Sep 29 19:16 /var/log/ldap.debug

Many thanks,
Adam.

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

Reply via email to