[Date Prev][Date Next]
Re: (ITS#6967) bug when migrating to cn=config with mixed-case schema names
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#6967) bug when migrating to cn=config with mixed-case schema names
- From: email@example.com
- Date: Fri, 10 Jun 2011 08:37:20 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
> Full_Name: Seth B.
> Version: 2.4.25
> OS: Ubuntu
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (184.108.40.206)
> 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.
Thanks for the report, this is now fixed in git master.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/