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

Re: Attrib type undefined?



Schema checking on/off only controls whether the attribute belongs in the
various objectclasses or not.  It does not disable checking whether the
attribute type is defined, as I recall.

You have to define the attributes you plan to use, no matter what.
-Alan


Martin Smith said:
> I'm adding records via the JNDI API and I get this:
>
> javax.naming.directory.InvalidAttributeIdentifierException: [LDAP: error
>  code 17 - state: attribute type undefined]; remaining name 'cn=Adam  A.
>  Adams, ou=REGION 2, ou=TempAgency'
>
> It apparently doesn't like an attribute named "state" that's in the
> input.
>
> But slapd.conf  says schema checking if off.
>
> Why is it checking attribute names?
>
> Thanks!
>
> martin


===========
Alan Sparks, UNIX/Linux Systems Administrator    <asparks@doublesparks.net>