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

Re: Newbie Schema Usage



hi 
The attribute audio is defined in the cosine.schema file.. Please
include it before u include inetorgperson.. 
Hope this helps
Anand Raman
On Wed, Sep 13, 2000 at 03:47:01PM +0300, Teemu Antti-Poika wrote:
>I did a similar thing a couple of days ago. See below.
>
>On Wed, 13 Sep 2000, Russell Packer wrote:
>
>> I'm all brand new to this OpenLDAP stuff, and am trying to add a schema. (I 
>> take it this is what I need to do in order to allow the objectClass of 
>> 'inetOrgPerson', thus allowing me to use the 'mail' attribute for a person 
>> record?!)
>> 
>> Here's the top bit of my slapd.conf:
>> 
>> include         /usr/local/OpenLDAP/etc/openldap/schema/core.schema
>> include         /usr/local/OpenLDAP/etc/openldap/schema/inetorgperson.schema
>> 
>> ...
>> 
>> but when I try to start slapd, it tells me:
>> 
>> /usr/local/OpenLDAP/etc/openldap/schema/inetorgperson.schema: line 142: 
>> AttributeType not found: "audio"
>
>The inetorgperson.schema depends on the cosine.schema file, so you should
>include also that (after core.schema, before inetorgperson).
>
>The dependency is noted in the beginning of inetorgperson.schema.
>
>Teemu

-- 
Regards
Anand Raman
India Today Group Online