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

Re: Adding user into LDAP Directory



As far as I know, you only need the dn, objectClass and the other
entries you want to include. Make you sure you have exactly one space
after the mail attribute in your ldif file, eg:

dn: cn=Jerry Carter,ou=people,dc=plainjoe,dc=org
cn: Jerry Carter
sn: Carter
mail: carter@nowhere.net
objectclass: inetOrgPerson



On Mon, 2003-12-08 at 15:26, Kevin Armijo wrote:
> That is in there...  Should the core.schema file have any other
> entires other than the default so that it can accept an e-mail address
> or does the ldif file I'm attempting to import have to have other
> information before it can accept a "mail" line of text?
> 
> Thanks!
> 
> Jim Krebs wrote:
> > Make sure you have the necessary schema included in your slapd.conf
> > file. You should have at least a line similar to the following in it:
> > 
> > include /etc/openldap/schema/core.schema
> > 
> > Jim
> > 
> > On Mon, 2003-12-08 at 15:09, Kevin Armijo wrote:
> >   
> > > Hello Everyone...
> > > 
> > > I am attempting to add a user into my LDAP Server and I get this error 
> > > message when I attempt to add a user with an e-mail address... Please, 
> > > someone help me...
> > > 
> > > ldap_add: Object class violation (65)
> > >              additional info:  attribute 'mail' not allowed
> > > 
> > > Thanks!
> > > 
> > > 
> > >     
> > 
> > 
> > 
> >