[Pkg-openldap-devel] Bug#595466: slapd: postinst fails when base DN contains a space
ian
ian at testers.homelinux.net
Sat Sep 4 07:44:48 UTC 2010
Package: slapd
Version: 2.4.23-3
Severity: important
The base DN of my server is "o=Tester family, c=AU". The upgrade script is
written in BASH/DASH and thus uses spaces to separate list items.
Stopping OpenLDAP: slapd.
Dumping to /var/backups/slapd-2.4.23-3:
- directory o=Tester... slapcat: slap_init no backend for "o=Tester"
failed.
I suggest someone either makes the upgrade script more rugged and able to
cope with spaces in strings, or reimplement it in a language that can properly
distinguish between strings and arrays. I see that Perl is already a
dependency. It would make a good choice for this task.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.33.5
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.112 add and remove users and groups
ii coreutils 8.5-1 GNU core utilities
ii debconf [debconf-2.0] 1.5.35 Debian configuration management sy
ii libc6 2.11.2-4 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-4 OpenLDAP libraries
ii libltdl7 2.2.6b-2 A system independent dlopen wrappe
ii libperl5.10 5.10.1-14 shared Perl library
ii libsasl2-2 2.1.23.dfsg1-6 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.1 Linux Standard Base 3.2 init scrip
ii perl [libmime-base64-perl 5.10.1-14 Larry Wall's Practical Extraction
ii psmisc 22.12-1 utilities that use the proc file s
ii unixodbc 2.2.14p2-2 ODBC tools libraries
Versions of packages slapd recommends:
ii libsasl2-modules 2.1.23.dfsg1-6 Cyrus SASL - pluggable authenticat
Versions of packages slapd suggests:
ii ldap-utils 2.4.23-4 OpenLDAP utilities
-- debconf information:
slapd/password_mismatch:
slapd/invalid_config: true
shared/organization: testers.net.au
* 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: testers.net.au
More information about the Pkg-openldap-devel
mailing list