[Date Prev][Date Next]
how to use new schema
I have some custom objectclasses and attributes. I just put them into a
.schema file and included them in slapd.conf.
When I am trying to ldapadd a ldif file with some objects based on some
custom classes, OpenLDAP tells me the following:
> ldapadd -f entries.ldif -x -D "cn=Admin,dc=database,dc=internet" -w
> adding new entry "businessCategory=IT,dc=database,dc=internet"
> ldap_add: Object class violation
> additional info: unrecognized objectClass 'cIndustry'
> ldif_record() = 65
slapd.conf looks like that (only a part of it):
> include /usr/local/openldap/etc/openldap/schema/core.schema
> include /usr/local/openldap/etc/openldap/schema/custom.schema
The objectclass definition in custom.schema is:
> ( 188.8.131.52.4.1.11832.1.1 NAME 'cIndustry' SUP top STRUCTURAL MUST
I thought that should be ok, but it seems that there is still a
Does somebody knows what's wrong there?
www : http://www.preuss.info