[Pkg-openldap-devel] Bug#462099: slapd: Fails to upgrade to 2.4.7, assertion failed in slapadd

Luigi Gangitano luigi at debian.org
Tue Jan 22 14:11:22 UTC 2008


Package: slapd
Version: 2.4.7-3
Severity: important


Hi,
upgrading from 2.3.39-1 fails with error:

Loading from /var/backups/slapd-2.3.39-1: 
  - directory o=lugroma3.org... /var/lib/dpkg/info/slapd.postinst: line 1085: 25396 Abortito                "$@" 2>&7
failed.

Loading the database from the LDIF dump failed with the following
error while running slapadd:
    slapadd: /build/buildd/openldap2.3-2.4.7/servers/slapd/schema_init.c:3669: csnNormalize: Assertion `val->bv_len == (sizeof("YYYYmmddHHMMSS.uuuuuuZ#SSSSSS#SID#ssssss")-1)' failed.

I found a reference to this error here:

  http://www.openldap.org/lists/openldap-software/200711/msg00072.html

it seems that wrongly formatted entryCSN entries (those with 0x in them) in backup cannot be imported in 2.4.7. This directory has been created with slapd 2.1.30, so I don't exactly know when those entire were generated.

Right now I'm trying to find a workaround that allows the directory to be imported.

Regards,

L

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

Kernel: Linux 2.6.23
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
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.7        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-17 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-17 Cyrus SASL - pluggable authenticat

-- debconf information:
  slapd/fix_directory: true
* shared/organization: lugroma3.org
  slapd/upgrade_slapcat_failure:
  slapd/backend: BDB
* slapd/allow_ldap_v2: true
  slapd/no_configuration: false
  slapd/move_old_database: true
  slapd/suffix_change: false
  slapd/slave_databases_require_updateref:
* slapd/dump_database_destdir: /var/backups/slapd-VERSION
  slapd/autoconf_modules: true
* slapd/domain: lugroma3.org
  slapd/password_mismatch:
  slapd/invalid_config: true
  slapd/slurpd_obsolete:
  slapd/upgrade_slapadd_failure:
* slapd/dump_database: when needed
  slapd/migrate_ldbm_to_bdb: false
  slapd/purge_database: false





More information about the Pkg-openldap-devel mailing list