I just ran into this bug again while updating to slapd 2.4.25-3.  The specific 
error was:



Preparing to replace slapd 2.4.25-1.1 (using .../slapd_2.4.25-3_amd64.deb) ...
Stopping OpenLDAP: slapd.
  Dumping to /var/backups/slapd-2.4.25-1.1: 
  - directory dc=stoutner,dc=org... str2entry: invalid value for attributeType 
objectClass #0 (syntax 1.3.6.1.4.1.1466.115.121.1.38)
root_dse_read_file: could not parse entry (file="/etc/kolab/rootDSE.ldif" 
line=3)
olcRootDSE: value #0: <olcRootDSE> could not read file /etc/kolab/rootDSE.ldif
config error processing cn=config: <olcRootDSE> could not read file
slapcat: bad configuration directory!
failed.
dpkg: error processing /var/cache/apt/archives/slapd_2.4.25-3_amd64.deb (--
unpack):
 subprocess new pre-installation script returned error exit status 1
configured to not write apport reports
                                        Backing up /etc/ldap/slapd.d in 
/var/backups/slapd-2.4.25-3... done.
Starting OpenLDAP: slapd.
Errors were encountered while processing:
 /var/cache/apt/archives/slapd_2.4.25-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



Following the steps reported previously worked this time as well.  However, 
this time the olcRootDSE: /etc/kolab/rootDSE.ldif line was not restored to 
/etc/ldap/slapd.d/cn=config.ldif.  I'm assuming that is the desired behavior.

Soren

-- 
Soren Stoutner
Small Business Tech Solutions
623-262-6169
so...@smallbusinesstech.net
www.smallbusinesstech.net

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to