Package: openldap2
Version: 2.1.30-13
Followup-For: Bug #382458

I stumbled upon this one as well (managed to miss this bug report before
finding out), if you aren't comfortable changing the --localstatedir 
from /var/ to /var/run/slapd (which might affect more stuff than needed) 
a simple change affecting only ldapi:/// to include/ldap_defaults.h 
(like in openldap2.3 after all) will do:

--- openldap2-2.1.30/include/ldap_defaults.h.orig       2006-12-06 
19:48:48.000000000 +0100
+++ openldap2-2.1.30/include/ldap_defaults.h    2006-12-06 19:52:16.000000000 
+0100
@@ -37,7 +37,7 @@
 #define LDAP_ENV_PREFIX "LDAP"
 
 /* default ldapi:// socket */
-#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "ldapi"
+#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "slapd" LDAP_DIRSEP "ldapi"
 
 /*
  * MAIL500 MAILER DEFINITIONS


thanks for your time,
Michele

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to