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

Re: "Upgrading from 2.3.x" section in Changes Appendix for Admin Guide



<quote who="Howard Chu">
> Gavin Henry wrote:
>> Hi All,
>>
>> I think it's worth adding an upgrading section, as I'm just playing with
>> a
>> copy of a live 2.3.38 system and an upgrade to LDAP_REL_ENG_2_4 is
>> giving:
>>
>> olcReplicationInterval: value #0: <olcReplicationInterval> keyword is
>> obsolete (ignored)
>> str2entry: invalid value for attributeType objectClass #0 (syntax
>> 1.3.6.1.4.1.1466.115.121.1.38)
>> => ldif_enum_tree: failed to read entry for
>> /usr/local/etc/openldap/slapd.d/cn=config/cn=include{0}.ldif
>> slaptest: bad configuration file!
>>
>> Admittedly, no slapcat was done as the bdb env is the same, but thought
>> I'd do what a normal user would ;-)
>>
>> Should we list obsolete values from bconfig.c that will apply and
>> discuss/present the best way to upgrade?
>
> Obsolete values don't matter; like the message said - it was simply
> ignored.

Yeah.

>
> The problem you ran into here is that 2.3.x had cn=include entries (which
> were
> also ignored in 2.3) but support for them was axed in 2.4. So, just delete
> all
> the cn=include* files from the config directory.

Will do and move on. Thanks. It will be worth noting some upgrades gotchas
for those running with slapd.d/

>
> --
>    -- Howard Chu
>    Chief Architect, Symas Corp.  http://www.symas.com
>    Director, Highland Sun        http://highlandsun.com/hyc/
>    Chief Architect, OpenLDAP     http://www.openldap.org/project/
>