Subject: Bug#261696: problem occurs when you run slapd
under a user other than root



Package: slapd
Version: 2.1.30-3
Followup-For: Bug #261696

Hi,

I think that I've solved this problem. It only occurs if you run slapd
under a different user (like slapd). Then slapd is not able to write
its pidfile to /var/run/slapd.pid. The simplest solution is to change
the pidfile location in /etc/ldap/slapd.conf to /var/lib/slapd/slapd.pid
and set the appropriate permissions for /var/lib/slapd.

BTW: It would be nice, if the installation scripts would provide an
easier way to setup slapd to run as a non-privileged user.

Cheers Lars

-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages slapd depends on:
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
ii debconf 1.4.30 Debian configuration management sy
ii fileutils 5.2.1-2 The GNU file management utilities
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-16 Berkeley v4.2 Database Libraries [
ii libgcrypt11 1.2.0-4 LGPL Crypto library - runtime libr
ii libgnutls11 1.0.16-6 GNU TLS library - runtime library
ii libgpg-error0 1.0-1 library for common error values an
ii libiodbc2 3.51.2-2 iODBC Driver Manager
ii libldap2 2.1.30-3 OpenLDAP libraries
ii libltdl3 1.5.6-2 A system independent dlopen wrappe
ii libsasl2 2.1.19-1 Authentication abstraction library
ii libslp1 1.0.11-7 OpenSLP libraries
ii libwrap0 7.6.dbs-4 Wietse Venema's TCP wrappers libra
ii perl [libm...

ime-base64-perl] 5.8.4-2 Larry Wall's Practical Extraction
ii psmisc 21.5-1 Utilities that use the proc filesy
ii zlib1g 1:1.2.1.1-5 compression library - runtime

-- debconf information excluded


_______________________________________________
debian-openldap mailing list
debian-openldap@xxxxxxxxxxx
http://lists.snowman.net/cgi-bin/mailman/listinfo/debian-openldap



Privacy