[Pkg-openldap-devel] r784 - openldap/trunk-2.3/debian
Russ Allbery
rra at alioth.debian.org
Thu Mar 1 03:58:02 CET 2007
Author: rra
Date: 2007-03-01 03:58:01 +0100 (Thu, 01 Mar 2007)
New Revision: 784
Modified:
openldap/trunk-2.3/debian/changelog
openldap/trunk-2.3/debian/slapd.init
Log:
* When starting slapd, create a symlink from /var/run/ldapi to
/var/run/slapd/ldapi for compatibility with 2.1 client libraries.
Closes: #385809.
Modified: openldap/trunk-2.3/debian/changelog
===================================================================
--- openldap/trunk-2.3/debian/changelog 2007-02-27 07:15:26 UTC (rev 783)
+++ openldap/trunk-2.3/debian/changelog 2007-03-01 02:58:01 UTC (rev 784)
@@ -1,12 +1,18 @@
openldap2.3 (2.3.30-5) UNRELEASED; urgency=low
+ [ Steve Langasek ]
* Add Portuguese debconf translation; thanks to Tiago Fernandes.
Closes: #409632.
* Re-add .la files to the slapd package, for greater compatibility
with upstream documentation.
- -- Steve Langasek <vorlon at debian.org> Mon, 26 Feb 2007 23:09:41 -0800
+ [ Russ Allbery ]
+ * When starting slapd, create a symlink from /var/run/ldapi to
+ /var/run/slapd/ldapi for compatibility with 2.1 client libraries.
+ Closes: #385809.
+ -- Russ Allbery <rra at debian.org> Wed, 28 Feb 2007 18:57:43 -0800
+
openldap2.3 (2.3.30-4) unstable; urgency=low
* Ok, argh, it helps to check that the function being re-added to the
Modified: openldap/trunk-2.3/debian/slapd.init
===================================================================
--- openldap/trunk-2.3/debian/slapd.init 2007-02-27 07:15:26 UTC (rev 783)
+++ openldap/trunk-2.3/debian/slapd.init 2007-03-01 02:58:01 UTC (rev 784)
@@ -138,6 +138,11 @@
--pidfile "$SLAPD_PIDFILE" \
--exec /usr/sbin/slapd -- -h "$SLAPD_SERVICES" $SLAPD_OPTIONS 2>&1`"
fi
+
+ # Backward compatibility with OpenLDAP 2.1 client libraries.
+ if [ ! -h /var/run/ldapi ] && [ ! -e /var/run/ldapi ] ; then
+ ln -s slapd/ldapi /var/run/ldapi
+ fi
}
# Start the slurpd daemon and capture the error message if any to
More information about the Pkg-openldap-devel
mailing list