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

Re: Creating my own schema in OpenLdap 2.3

I note that how to create LDAP schemas is not generally
a topic specific to OpenLDAP Software.  However, your problem
has nothing to do with schema creation, and not dependent
on your custom schema.

At 02:12 AM 11/28/2005, Edan Shavit wrote:
>2) I added the following lines to the slapd.conf
>include         etc/openldap/schema/mySchema.schema
>database        bdb
>suffix          "dc=root"
>readonly off
>rootdn          "cn=Manager,dc=root"
>rootpw          secret
>index   objectClass     eq
>directory       /usr/local/mySchema/ldap
>updatedn        "cn=Manager,dc=root"

You sent this server up as a slave server.

>5) I run ldapadd(1) to insert these entries into my directory:
>/usr/bin/ldapadd -x -D "cn=Manager,dc=root" -W -f ./temp.ldif -d 32768

You then perform an add using the updatedn, but
you didn't add like slurpd(8). 

>Any one know, waht am I doing wrong?

Well, I assume its configuring the server as a slave
or inappropriately use of the updatedn.  The updatedn
is meant for slurpd(8) use, or the administrators
use when hand applying a replog record with all
necessary operational attributes.