[Pkg-openldap-devel] Bug#635931: slapd fails to install due to configuration error

Atanas Atanasov thenasko at gmail.com
Fri Jul 29 16:19:40 UTC 2011


Package: slapd
Version: 2.4.23-7.2
Severity: normal

Installing slapd 2.4.23-7.2 fails during configuration:

nasko at chow:~$ sudo apt-get purge slapd
[sudo] password for nasko:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
 slapd*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 3,916 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 204379 files and directories currently installed.)
Removing slapd ...
Stopping OpenLDAP: slapd.
Purging configuration files for slapd ...
Removing slapd configuration... done.
Processing triggers for man-db ...
nasko at chow:~$ sudo apt-get install slapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
 ldap-utils
The following NEW packages will be installed:
 slapd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,495 kB of archives.
After this operation, 3,916 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package slapd.
(Reading database ... 204138 files and directories currently installed.)
Unpacking slapd (from .../slapd_2.4.23-7.2_i386.deb) ...
Processing triggers for man-db ...
Setting up slapd (2.4.23-7.2) ...
Usage: slappasswd [options]
 -c format     crypt(3) salt format
 -g            generate random password
 -h hash       password scheme
 -n            omit trailing newline
 -s secret     new password
 -u            generate RFC2307 values (default)
 -v            increase verbosity
 -T file       read file for new password
 Creating initial configuration... Loading the initial configuration
from the ldif file () failed with
the following error while running slapadd:
  str2entry: invalid value for attributeType olcRootPW #0 (syntax
1.3.6.1.4.1.1466.115.121.1.15)
  slapadd: could not parse entry (line=1052)
dpkg: error processing slapd (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                    Errors were encountered while processing:
 slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)



-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
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.2        OpenLDAP libraries
ii  libltdl7               2.2.6b-2          A system independent dlopen wrappe
ii  libperl5.10            5.10.1-17squeeze2 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-p 5.10.1-17squeeze2 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:
pn  ldap-utils                    <none>     (no description available)





More information about the Pkg-openldap-devel mailing list