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

Re: QuickStart question



>Following the directions in the QuickStart guide on www.openldap.org (using
>OpenLDAP 2.0.7 running on Linux 2.4.0-test11, with an Athlon 800Mhz), I
>created a slapd.conf as follows:
>
>database ldbm
>suffix "dc=invendra,dc=com"
>rootdn "cn=Manager,dc=invendra,dc=com"
>rootpw secret
>directory /usr/local/var/openldap-ldbm
>
>
>However, upon running slapd (as root, of course), I get the following error:
>
># /usr/local/libexec/slapd
>No objectClass "top" defined in schema
>
>
>Alternatively, running with the included default slapd.conf, which includes
>right at the top of the file:
>
>objectclass top
>        requires
>                objectClass
>
>
>... still gives me the exact same error.
>
>I'm sure this is something silly, and it's been quite a while since I used
>LDAP...  What am I doing wrong? :-)

I dunno about 2.0.7, but with 1.x I recall having to put the database
directive before the rootdn directive.  I think.

You also need to have a root entry in the database:

dc=invendra,dc=com
objectclass=top

Karl

May the Legos (TM) always be swept from your path in the night.