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

Re: Another problem with ldapadd and/or ldif file



Joshua Poling-Goldenne wrote:
> 
> The original error from my earlier post is fixed now (it was a permissions
> issue), but now I have another one when trying to add entries at the uid
> level.
> 
> ldif file (joshtest.ldif):
> 
> dn: uid=jdawson,ou=development,dc=eswoosh,dc=com
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> cn: Jerald Dawson
> sn: Dawson
> givenName: Jerald
> uid: jdawson
> mail: jdawson@eswoosh.com
> telephoneNumber: 847-481-4910
> 
> Now I get a new error:
> 
> sh-2.04$ ldapadd -D "cn=Manager,dc=eswoosh,dc=com" -w secret -f
> joshtest.ldif -x
> adding new entry "uid=jdawson,ou=development,dc=eswoosh,dc=com"
> ldap_add: Object class violation
>         additional info: attribute not allowed
> 
> ldif_record() = 65
> 
> Any suggestions?
> 
> Joshua Poling-Goldenne
> josh@eswoosh.com

ObjectClass organizationalPerson MUST have attribute person defined.

-- 
Dave
--
Dave Lewney
Principal Systems Programmer, Computing Service
University of Sussex, Brighton BN1 9QJ. Tel: 01273 678354 Fax: 01273
271956