package slapd 2.4.28-1.1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #990892 reported by Jeremy Yoder
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openldap (Debian)
Fix Released
Unknown
openldap (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Attempted to install slapd for the first time, but on a machine recently upgraded from 10.04. I had already installed autofs-ldap before attempting to install slapd. This is my first experiment with LDAP so that's about all I know.

Setting up slapd (2.4.28-1.1ubuntu4) ...
  Creating new user openldap... done.
  Creating initial configuration... Loading the initial configuration from the ldif file () failed with
the following error while running slapadd:
    4f9cbb70 str2entry: invalid value for attributeType olcSuffix #0 (syntax 1.3.6.1.4.1.1466.115.121.1.12)
    slapadd: could not parse entry (line=1051)
dpkg: error processing slapd (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: slapd 2.4.28-1.1ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
AptOrdering:
 libodbc1: Install
 slapd: Install
 libodbc1: Configure
 slapd: Configure
Architecture: amd64
Date: Sat Apr 28 23:54:24 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
SourcePackage: openldap
Title: package slapd 2.4.28-1.1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-04-28 (0 days ago)

Revision history for this message
Jeremy Yoder (jyoder) wrote :
tags: removed: need-duplicate-check
James Page (james-page)
Changed in openldap (Ubuntu):
importance: Undecided → Low
Revision history for this message
Ryan Tandy (rtandy) wrote :

There isn't enough information (would need debconf info) to say for sure, but this is most likely caused by slapd/domain ending with a dot, or otherwise causing olcSuffix to end up containing an unacceptable character. The former case has been fixed in wily and later.

Changed in openldap (Ubuntu):
status: New → Fix Released
Changed in openldap (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.