[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Problem Upgrade version 1.2.10 to 2.0.6
Alfredo Pulido wrote:
> " No objectClass "top" defined in schema".
>
> My configuration is:
>
> SLAPD.CONF
>
> #
> # See slapd.conf(5) for details on configuration options.
> # This file should NOT be world readable.
> #
> include /usr/local/etc/openldap/slapd.at.conf
> include /usr/local/etc/openldap/slapd.oc.conf
That is incorrect, use the provided schemas. Those files are not
adequate for OpenLDAP 2.x.
> If in the file slapd.conf I don't comment this lines:
>
> include /usr/local/etc/openldap/schema/core.schema
> include /usr/local/etc/openldap/schema/cosine.schema
> include /usr/local/etc/openldap/schema/inetorgperson.schema
>
> When I create the Data Base , they are a problem:
>
> apc:/ldap#ldif2ldbm -f /ldap/slapd.conf -i /ldap/organizacion.ldif
> /usr/local/etc/openldap/schema/core.schema: line 114: expecting
> "requires" or "allows" got "2.5.20.1"
> <oc clause> ::= objectclass <ocname>
> [ requires <attrlist> ]
> [ allows <attrlist> ]
That is incorrect, ldif2ldbm is a 1.x tool. With OpenLDAP 2.x, use
slapadd instead.
Julio