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

RE: Adding user into LDAP Directory



Make sure you've included the schema for InetOrgPerson.  On my RPM-installed version of Openldap, it's in a file by itself, under /etc/openldap/schema.
 
Near as I can tell from looking at the schemas, "mail" is an alias for "rfc822mailbox", which is part of the cosine schema.
-----Original Message-----
From: owner-openldap-software@OpenLDAP.org [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Kevin Armijo
Sent: Monday, December 08, 2003 12:48 PM
To: Andreas
Cc: OpenLDAP Software
Subject: Re: Adding user into LDAP Directory

I attempted to use inetOrgPerson and the LDAP system told me is was an unrecoginzed objetclass

Andreas wrote:
On Mon, Dec 08, 2003 at 10:09:55AM -0700, Kevin Armijo wrote:
  
ldap_add: Object class violation (65)
            additional info:  attribute 'mail' not allowed
    

You need to use an objectclass whith allows the mail attribute. If
I remember correctly, inetOrgPerson is one.



.