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

Re: Problems with schema?



On Fri, Apr 26, 2002 at 11:41:57AM -0500, Erich Kolb wrote:
> I receive:
> /usr/local/etc/openldap/schema/inetorgperson.schema: line 143:
> AttributeType not found: "audio"
> 
> This .schema file has never been touched, it is the original from source
> 

grep is your friend. :-)

bash-2.05a$ grep audio /etc/ldap/schema/*
/etc/ldap/schema/cosine.schema:#    audio ATTRIBUTE
/etc/ldap/schema/cosine.schema:#        (SIZE (1 .. ub-audio))
/etc/ldap/schema/cosine.schema:attributetype ( 0.9.2342.19200300.100.1.55 NAME 'audio'

etc.

You need to include cosine.schema, too.

Bob
> 
> On Fri, Apr 26, 2002 at 10:32:59AM -0500, Erich Kolb wrote:
> > I am having difficulties with getting openldap to accept the mail 
> > attribute.  I have included both core.schema and misc.schema in my 
> > slapd.conf file and it appears that all of the attributes which I 
> > would like to use are working correctly, however the whole reason I 
> > would like to use LDAP is for email directory services.  When I 
> > attempt to add this attribute to a user, I receive the following:
> > 
> > Failed to add 'mail' attribute for 
> > ldap://mail.mydomain.com:389/cn=ekolb, ou=infoservices, 
> > dc=mydomain,dc=com Root error: [LDAP: error code 65 - attribute 'mail'
> 
> > not allowed]
> > 
> > Any anyone offer any assistance with this problem?
> > 
> 
> Hello
> 
>      objectclass inetOrgPerson (Internet Organizational Person) allows a
> mail attribute. You could include inetorgperson.schema, and classify
> your people as inetOrgPerson?
> 
> Bob

Bob
-- 
To be considered successful, a woman must be much better at her job
than a man would have to be.  Fortunately, this isn't difficult.

Attachment: pgptWTVgAl3ct.pgp
Description: PGP signature