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

Re: Ldap ad with invalid structural object class error



You have two different structural objectclasses.
Both person and organization are structural objectclasses
with 'top' as their superior. 
You can only have one. You'll have to choose between organization
and person. 

On Tue, Mar 11, 2003 at 09:55:45AM +0800, Chee Leong Dew wrote:

> Hi Team,
> 
> 1.
> I am having problem with the ldapadd command wiht the ldif.
> I am able to installed and run the test commmand -> ldapsearch -x -b ''
> -s base '(objectclass=*)' namingContexts .It returns me result.
> 
> But when I want to add a new entry using ldif, error occured.
> 
> Contents of ldif is : 
> ---------------------------------------------------
> dn: cn=Manager, dc=CLIENT8, dc=MYTESQ, dc=COM
> objectclass: dcObject
> dc: CLIENT8.MYTESQ.COM
> objectclass: organization
> o: Example Company
> objectclass: person
> cn: Manager
> sn: User
> ----------------------------------------------------