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

Re: Schema violations not caught (ITS#398)

dupuis@syntax.com wrote:
> I rm'ed all of the database files and restarted slapd. Once again,
> ldapadd allowed me to create an entry having an undefined objectclass
> and an undefined attribute type.

It's not a schema violation to have an undefined objectclass,
but it is a schema violation to have an attribute type (defined
implicitly or explicitly) which is not allowed by listed and defined
objectclass (or top, 'objectclass' is always allowed).

> schemacheck is set to on.

Though I could be wrong, I suspect you have typo in your
configuration file.  Make sure you have "schemacheck on" on a line
by itself before any database directive.