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

Re: adding a schema

> hi guys
> i was wondering how does one go about adding a new schema.. I think
> openldap 2.0.0 doesnt include schema for java objects which are by
> default required for the jndi tutorial from java.. I have tried copying
> the entire schema file with the tutorial to the schema directory created
> by 2.0.0 distribution..
> Is it the right way to do things..
> Thanx for ur help
> Anand Raman

Create a file schema/jndi.schema following the correct format.  See the
RFCs or go by example (look at the schema files that it comes with).

You must also modify your slapd.conf file to include the schema file, eg.

include /usr/local/etc/openldap/schema/jndi.schema.

Just creating .schema files in the schema directory does not make
them active.  You must explicitly include them in slapd.conf.