[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6967) bug when migrating to cn=config with mixed-case schema names

Full_Name: Seth B.
Version: 2.4.25
OS: Ubuntu
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

I moved from slapd.conf to cn=config using options -F and -f (forgot the exact
command but I think it was slapadd). I had a schema called EnergySec.ldif that
was migrated. It showed up as
following the conversion.

However, when I tried modifying the schema using ADS and then ldapmodify, I
would get a error 32: No such object. With slapd in foreground mode, I found
that it was trying to access the lower-case version of the file:

ldif_read_file: no entry file

Since UNIX is case-sensitive, this obviously failed (the import kept the case as

I fixed it by manually renaming the ldif file to lower case and changing the dn
and cn inside the file. That was pretty hairy and I hope I didn't break anything
else but it semes to work.