[Pkg-openldap-devel] Bug#462099: slapd: working around bug 462099

Brad Fritz brad at fritzfam.com
Sun Feb 3 18:58:25 UTC 2008


Package: slapd
Followup-For: Bug #462099


In case it helps others dealing with this bug, I was able to work around it
using the patch here:
http://www.openldap.org/lists/openldap-software/200711/msg00074.html

It's been several days ago but, IIRC, the process was:

 0. Make backups of LDAP database in case anything goes wrong.

 1. Attempt the upgrade to 2.4.7 with apt-get.

 2. After the assertion, download the the source package, patch it, and
    temporarily use patched slapd binary to migrate entryCSNs.  Assuming
    the build and target host are the same, basically...

    apt-get build-dep slapd
    apt-get source slapd
    [ apply patch to schema_init.c ; required trivial adjustments because line
      numbers were off a bit ]
    cd openldap2.3-2.4.7
    fakeroot debian/rules build
    mv /usr/sbin/slapd /usr/sbin/slapd.dist
    copy slapd from debian/build/servers/slapd/.libs/slapd to /usr/sbin/slapd
    apt-get install slapd   [uses patch slapd to upgrade entryCSNs]
    mv /usr/sbin/slapd.dist /usr/sbin/slapd


--Brad
 

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages slapd depends on:
ii  adduser                  3.105           add and remove users and groups
ii  coreutils                5.97-5.3        The GNU core utilities
ii  debconf [debconf-2.0]    1.5.18          Debian configuration management sy
ii  libc6                    2.7-6           GNU C Library: Shared libraries
ii  libdb4.2                 4.2.52+dfsg-4   Berkeley v4.2 Database Libraries [
ii  libgnutls13              2.0.4-1         the GNU TLS library - runtime libr
ii  libiodbc2                3.52.6-1        iODBC Driver Manager
ii  libldap-2.4-2            2.4.7-3         OpenLDAP libraries
ii  libltdl3                 1.5.24-2        A system independent dlopen wrappe
ii  libperl5.8               5.8.8-12        Shared Perl library
ii  libsasl2-2               2.1.22.dfsg1-16 Cyrus SASL - authentication abstra
ii  libslp1                  1.2.1-7.1       OpenSLP libraries
ii  libwrap0                 7.6.dbs-14      Wietse Venema's TCP wrappers libra
ii  perl [libmime-base64-per 5.8.8-12        Larry Wall's Practical Extraction 
ii  psmisc                   22.6-1          Utilities that use the proc filesy

Versions of packages slapd recommends:
ii  libsasl2-modules         2.1.22.dfsg1-16 Cyrus SASL - pluggable authenticat

-- debconf information excluded





More information about the Pkg-openldap-devel mailing list