[Pkg-openldap-devel] Bug#614569: slapd: Dist-Upgrade Lenny->Squeeze: syncreplication w/ incomplete objects fails
Rainer Ruprechtsberger
rainer.ruprechtsberger at volkshilfe-ooe.at
Tue Feb 22 10:43:26 UTC 2011
Package: slapd
Version: 2.4.23-7
Severity: normal
*** Please type your report below this line ***
Hallo again,
dist-upgrading ldap syncreplication slaves with incomplete object fails.
My setting uses 'schemachecking=off' and the replication user is not
allowed to read all attributes on the master server. The upgrade scripts
make a backup of the existing ldap database and tries to restore it with
slapadd. This fails and leave the the slapd package half configured.
For example:
Loading the database from the LDIF dump failed with the following
error while running slapadd:
Entry (uid=foobar,ou=people,dc=volkshilfe-ooe,dc=at): object class
'inetOrgPerson' requires attribute 'sn'
slapadd: dn="uid=foobar,ou=people,dc=volkshilfe-ooe,dc=at"
(line=24): (65) object class 'inetOrgPerson' requires attribute 'sn'
dpkg: error processing slapd (--configure):
subprocess installed post-installation script returned error exit status 1
Exchanging the backup with a fake (only containing the top object) was
the fastest way to resolve this problem i was able to find.
/r
-- System Information:
Debian Release: 6.0
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages slapd depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii coreutils 8.5-1 GNU core utilities
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration
management sy
ii libc6 2.11.2-10 Embedded GNU C Library:
Shared lib
ii libdb4.8 4.8.30-2 Berkeley v4.8 Database
Libraries [
ii libgnutls26 2.8.6-1 the GNU TLS library -
runtime libr
ii libldap-2.4-2 2.4.23-7 OpenLDAP libraries
ii libltdl7 2.2.6b-2 A system independent dlopen
wrappe
ii libperl5.10 5.10.1-17 shared Perl library
ii libsasl2-2 2.1.23.dfsg1-7 Cyrus SASL - authentication
abstra
ii libslp1 1.2.1-7.8 OpenSLP libraries
ii libwrap0 7.6.q-19 Wietse Venema's TCP
wrappers libra
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2
init scrip
ii perl [libmime-base64-pe 5.10.1-17 Larry Wall's Practical
Extraction
ii psmisc 22.11-1 utilities that use the proc
file s
ii unixodbc 2.2.14p2-1 ODBC tools libraries
Versions of packages slapd recommends:
ii libsasl2-modules 2.1.23.dfsg1-7 Cyrus SASL - pluggable
authenticat
Versions of packages slapd suggests:
ii ldap-utils 2.4.23-7 OpenLDAP utilities
-- Configuration Files:
/etc/default/slapd changed [not included]
-- debconf information:
slapd/password_mismatch:
slapd/invalid_config: true
shared/organization: test.vpn.volkshilfe-ooe.at
slapd/upgrade_slapcat_failure:
slapd/backend: HDB
slapd/dump_database: when needed
slapd/allow_ldap_v2: false
slapd/no_configuration: false
slapd/move_old_database: true
slapd/dump_database_destdir: /var/backups/slapd-VERSION
slapd/purge_database: false
slapd/domain: test.vpn.volkshilfe-ooe.at
--
Rainer Ruprechtsberger
Volkshilfe Oberösterreich
EDV
Glimpfingerstrasse 48
4020 Linz
Tel.: 0732/3405-123
Mobil.: 0676/8734-1123
ZVR Zahl: 064371505
More information about the Pkg-openldap-devel
mailing list