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

object class in old/new format (ITS#561)



Full_Name: Christian Lorenz
Version: 2.0-devel
OS: linux-2.2.14
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (194.112.123.201)


After building and installing, the slapd refused to start with the
following messages:

--------------
:
:
reading config file /usr/local/etc/openldap/slapd.oc.conf
line 5 (objectclass top requires                objectClass)
/usr/local/etc/openldap/slapd.oc.conf: line 5: old objectclass format not
supported.
:
:
No objectClass "top" defined in schema
schema prep error
slapd shutdown: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.
--------------

I fixed it for now by commenting out the

  #define SLAPD_SCHEMA_NOT_COMPAT 1

in include/portable.h.in.

If the new format for the object class file is the default, the
slapd.oc.conf should be provided in this new format.

Have fun!