[Bug 526230] [NEW] jaunty -> karmic upgrade modifies cn=config DB definition, creates syntax error, slapd won't start

Stephen Warren swarren at wwwdotorg.org
Tue Feb 23 05:24:52 GMT 2010


Public bug reported:

I had a couple of systems with jaunty installed, running the openldap
server, configured to use "cn=config" for configuration. On both
systems, when I upgraded to karmic, something rewrote
/etc/ldap/slapd.d/cn=config/olcDatabase={0}config.ldif (or perhaps it
was olcDatabase={1}bdb.ldif) to add a new "olcAccess" line. However, the
file already had an olcAccess line, and openldap doesn't allow duplicate
lines without prefixing the value with {0}, {1}, {2}, ... The newly
added value isn't prefixed in such a way, and hence is a syntax error,
and hence slapd won't start after the upgrade.

I'll attach a backup of /etc/ldap from one of the systems from when it
was still running jaunty. Presumably, dumping this in /etc/ldap and
testing a backup will yield the same problem.

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
jaunty -> karmic upgrade modifies cn=config DB definition, creates syntax error, slapd won't start
https://bugs.launchpad.net/bugs/526230
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.



More information about the Ubuntu-server-bugs mailing list