[Pkg-openldap-devel] Bug#412781: slapd: OpenLDAP 2.1 libraries look
in /var/run/ldapi
Russ Allbery
rra at debian.org
Wed Feb 28 04:35:15 UTC 2007
Package: slapd
Version: 2.3.30-4
Severity: important
Tags: patch
The 2.1 OpenLDAP client libraries expect the ldapi socket to live in
/var/run/ldapi instead of /var/run/slapd/ldapi. See:
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=385809>
<http://lists.debian.org/debian-devel/2007/02/msg00756.html>
It seems to me that the easiest fix for etch to maintain compatibility
between the client libraries and the server is to create a symlink in
/var/run/ldapi pointing to /var/run/slapd/ldapi.
Attached is a patch that should do that. If this looks okay, let me know
and I can commit it.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
-------------- next part --------------
Index: debian/slapd.scripts-common
===================================================================
--- debian/slapd.scripts-common (revision 783)
+++ debian/slapd.scripts-common (working copy)
@@ -179,6 +179,7 @@
update_permissions /var/lib/ldap
update_permissions /var/spool/slurpd
update_permissions /var/run/slapd
+ ln -s slapd/ldapi /var/run/ldapi
}
# }}}
update_permissions() { # {{{
More information about the Pkg-openldap-devel
mailing list