Your message dated Mon, 25 Jun 2007 19:30:58 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#403948: fixed in openldap2.3 2.3.35-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: slapd
Version: 2.3.29-1
Severity: wishlist
Tags: patch


Hello,

Attached is a small patch that allows custom specification of 
slapd and slurpd binary paths in the /etc/default/slapd file,
through the use of SLAPD_DAEMON and SLURPD_DAEMON variables.

Together with the existing ability to specify custom slapd.conf
file, this allows for very convenient local replacement of slapd
with say, its custom-built version, while preserving the convenience
of /etc/default/slapd and /etc/init.d/slapd files.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

-- debconf information excluded
--- /etc/init.d/slapd   2006-11-11 12:08:05.000000000 +0100
+++ /etc/init.d/slapd-local     2006-12-20 21:48:53.000000000 +0100
@@ -14,14 +14,23 @@
 # Kill me on all errors
 set -e
 
-# Stop processing if slapd is not there
-[ -x /usr/sbin/slapd ] || exit 0
-
 # Source the init script configuration
 if [ -f "/etc/default/slapd" ]; then
        . /etc/default/slapd
 fi
 
+# Load the default location of slapd and slurpd binaries
+if [ -z "$SLAPD_DAEMON" ]; then
+       SLAPD_DAEMON="/usr/sbin/slapd"
+fi
+if [ -z "$SLURPD_DAEMON" ]; then
+       SLURPD_DAEMON="/usr/sbin/slurpd"
+fi
+
+# Stop processing if slapd is not there
+[ -x "$SLAPD_DAEMON" ] || exit 0
+
+
 # Load the default location of the slapd config file
 if [ -z "$SLAPD_CONF" ]; then
        SLAPD_CONF="/etc/ldap/slapd.conf"
@@ -124,11 +133,11 @@
        if [ -z "$SLAPD_SERVICES" ]; then
                reason="`start-stop-daemon --start --quiet --oknodo \
                        --pidfile "$SLAPD_PIDFILE" \
-                       --exec /usr/sbin/slapd -- $SLAPD_OPTIONS 2>&1`"
+                       --exec $SLAPD_DAEMON -- $SLAPD_OPTIONS 2>&1`"
        else
                reason="`start-stop-daemon --start --quiet --oknodo \
                        --pidfile "$SLAPD_PIDFILE" \
-                       --exec /usr/sbin/slapd -- -h "$SLAPD_SERVICES" 
$SLAPD_OPTIONS 2>&1`"
+                       --exec $SLAPD_DAEMON -- -h "$SLAPD_SERVICES" 
$SLAPD_OPTIONS 2>&1`"
        fi
 }
 
@@ -140,7 +149,7 @@
        fi
        echo -n " slurpd"
        reason="`start-stop-daemon --start --quiet --oknodo \
-               --exec /usr/sbin/slurpd -- $SLURPD_OPTIONS 2>&1`"
+               --exec $SLURPD_DAEMON -- $SLURPD_OPTIONS 2>&1`"
 }
 
 # Stop the slapd daemon and capture the error message (if any) to
@@ -149,7 +158,7 @@
        echo -n " slapd"
        reason="`start-stop-daemon --stop --quiet --oknodo --retry 10 \
                --pidfile "$SLAPD_PIDFILE" \
-               --exec /usr/sbin/slapd 2>&1`"
+               --exec $SLAPD_DAEMON 2>&1`"
 }
 
 # Stop the slurpd daemon and capture the error message (if any) to
@@ -160,7 +169,7 @@
        fi
        echo -n " slurpd"
        reason="`start-stop-daemon --stop --quiet --oknodo --retry 10 \
-               --exec /usr/sbin/slurpd 2>&1`"
+               --exec $SLURPD_DAEMON 2>&1`"
 }
 
 # Start the OpenLDAP daemons
--- slapd       2006-12-20 21:49:41.000000000 +0100
+++ slapd-local 2006-12-20 21:49:33.000000000 +0100
@@ -1,5 +1,7 @@
-# Default location of the slapd.conf file
+# Default location of the slapd.conf file and slapd/slurpd binaries
 SLAPD_CONF=
+SLAPD_DAEMON=
+SLURPD_DAEMON=
 
 # System account to run the slapd server under. If empty the server
 # will run as root.

--- End Message ---
--- Begin Message ---
Source: openldap2.3
Source-Version: 2.3.35-2

We believe that the bug you reported is fixed in the latest version of
openldap2.3, which is due to be installed in the Debian FTP archive:

ldap-utils_2.3.35-2_i386.deb
  to pool/main/o/openldap2.3/ldap-utils_2.3.35-2_i386.deb
libldap-2.3-0-dbg_2.3.35-2_i386.deb
  to pool/main/o/openldap2.3/libldap-2.3-0-dbg_2.3.35-2_i386.deb
libldap-2.3-0_2.3.35-2_i386.deb
  to pool/main/o/openldap2.3/libldap-2.3-0_2.3.35-2_i386.deb
openldap2.3_2.3.35-2.diff.gz
  to pool/main/o/openldap2.3/openldap2.3_2.3.35-2.diff.gz
openldap2.3_2.3.35-2.dsc
  to pool/main/o/openldap2.3/openldap2.3_2.3.35-2.dsc
slapd-dbg_2.3.35-2_i386.deb
  to pool/main/o/openldap2.3/slapd-dbg_2.3.35-2_i386.deb
slapd_2.3.35-2_i386.deb
  to pool/main/o/openldap2.3/slapd_2.3.35-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Russ Allbery <[EMAIL PROTECTED]> (supplier of updated openldap2.3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 11 Jun 2007 20:26:26 -0700
Source: openldap2.3
Binary: slapd ldap-utils libldap-2.3-0-dbg libldap-2.3-0 slapd-dbg
Architecture: source i386
Version: 2.3.35-2
Distribution: unstable
Urgency: low
Maintainer: Debian OpenLDAP Maintainers <[EMAIL PROTECTED]>
Changed-By: Russ Allbery <[EMAIL PROTECTED]>
Description: 
 ldap-utils - OpenLDAP utilities
 libldap-2.3-0 - OpenLDAP libraries
 libldap-2.3-0-dbg - Debugging information for OpenLDAP libraries
 slapd      - OpenLDAP server (slapd)
 slapd-dbg  - Debugging information for the OpenLDAP server (slapd)
Closes: 205010 225896 227482 245341 254999 403948 408987 412017 412575 427245
Changes: 
 openldap2.3 (2.3.35-2) unstable; urgency=low
 .
   * Enable LAN Manager password support in slapd.  (Closes: #245341)
   * If automatic configuration is selected and slapd.conf doesn't exist
     during an upgrade, treat this as a fresh installation rather than
     aborting with an error.  Also try to provide a better error message if
     the user has deleted /etc/ldap/schema but we just generated a new
     configuration that references it.  These cases can occur if someone
     removes (rather than purges) the package, manually deletes /etc/ldap,
     and then reinstalls.  (Closes: #205010)
   * Don't fail in slapd's postrm if /etc/ldap/schema has already been
     deleted.
   * Remove slapd conflicts with libbind-dev and bind-dev.  There no longer
     appears to be anything in those packages that would break slapd's
     resolver.  (Closes: #225896)
   * Add libldap-2.3-0-dbg and slapd-dbg packages with detached debugging
     information.
   * db_recover is no longer required after changing DB_CONFIG; slapd now
     detects changes itself and does the right thing.  Also note in
     README.DB_CONFIG the existence of the dbconfig slapd.conf parameter
     and slapd's DB_CONFIG writing support.  (Closes: #412575)
   * Add options to /etc/default/slapd to let the system administrator tell
     the init script to not start slapd on boot.  (Closes: #254999)
   * Redirect fd 3 to /dev/null in the slapd init script for additional
     robustness when debconf is running.  (Closes: #227482)
   * Add to /etc/default/slapd a commented-out example of how to change the
     keytab file used for GSSAPI authentication.  (Closes: #412017)
   * Use variables in /etc/init.d/slapd for the paths to slapd and slurpd
     so that someone who really wants to can override them in
     /etc/default/slapd.  (Closes: #403948)
   * Allow people building packages for outside Debian to skip the checks
     for non-DFSG-free material by setting a variable. Thanks, Peter
     Marschall.  (Closes: #427245)
   * Remove duplicate libldap-2.3-0 dependencies.  (Closes: #408987)
   * Use binary:Version instead of Source-Version for the tight
     dependencies between slapd and ldap-utils and libldap-2.3-0.
Files: 
 330138af63b52443162a7bc9c919d208 1233 net optional openldap2.3_2.3.35-2.dsc
 f8db8f6d708ffe7a337d0e96398bd276 152804 net optional 
openldap2.3_2.3.35-2.diff.gz
 32322a30de06b70d1dcedf2fa2ffdada 1205176 net optional slapd_2.3.35-2_i386.deb
 13f104d17636ef91bbe92c0cf78715ed 152916 net optional 
ldap-utils_2.3.35-2_i386.deb
 f46537a78bc46a1c105df26e3bad1dae 313008 libs optional 
libldap-2.3-0_2.3.35-2_i386.deb
 20fd393d0edd0742ae79166b0750907b 565356 libdevel extra 
libldap-2.3-0-dbg_2.3.35-2_i386.deb
 1896430bcb3aa4d8771d2a98f45f2f95 3009458 net extra slapd-dbg_2.3.35-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGbhme+YXjQAr8dHYRAnOaAKDGLeaAUAOZZspUZ1kY5+wxq9qGpQCdFUSw
QHwy1lFMBF+a+ku00QB6zD0=
=j7wK
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to