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

Re:



Chris wrote:

> I am new to LDAP.  I have been trying to setup a directory and cannot get
> past the objectclass violation error.  I apologize if this is not the
> correct list to use.  Any help is greatly appreciated.
>
> Chris
>
> Here is the initial entries into the ldap server produced from the
> ldapsearch command:
>
> # crazystyle, dc=net
> dn: dc=crazystyle, dc=net
> objectClass: dcObject
> objectClass: organization
> objectClass: top
> o: Crazystyle Productions
> dc: crazystyle
>
> # manager,dc=crazystyle,dc=net
> dn: cn=manager,dc=crazystyle,dc=net
> objectClass: organizationalRole
> cn: manager
>
> This is the entry that I am trying to add in LDIF format:
>
> dn: uid=jdoe, dc=crazystyle, dc=net
> cn: John Doe
> sn: Doe
> givenName: John
> objectclass: top
> objectclass: person
> objectclass: organizationalPerson
> objectclass: inetOrgPerson
> ou: People
> uid: jdoe
> mail: jdoe@crazystyle.net
> userPassword: xxxx

At a first glance, the entry looks fine. I guess you did not include
all the appropriate schema files:

core.schema
inetorgperson.schema

Pierangelo.



--
Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy   | http://www.aero.polimi.it/~masarati