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

getting LDAP_OBJECT_CLASS_VIOLATION error



hi everybody,
            i did entry in ldap like follo:

o=organization
   |
   | 
   ou=Resellers            
      |
      |---cn=reseller1--has number of properties like
name,address,email,homequota etc.
             |
             |--ou=owners  
(it is also one of the property of cn=reseller1.(now i want to add
another entry called cn=owner1 below this node.)

but this is added as an entry of cn=reseller1,so it is not a dn under
which i can add another entry.so,when i am trying to add entry below
this node it gives me a error called:
       LDAP_OBJECT_CLASS_VIOLATION.
i did entry of resellers successfully but i can't add entry of owners.
when i am going to add entry of owners by following DN:

$dn = cn=owner1,ou=owners,cn=reseller1,ou=Resellers,o=organization

i added resellers by following DN:
$dn = cn=reseller1,ou=Resellers,o=organization
with the lots of properties of resellers. like: -
uid,userPassword,mail,cn,sn and ofcourse, ou=owners with every resellers
is added.b'coz i want to add owners below each and every resellers.

i also added all objectClasses required by attributes.

is anybody have any idea? 	  
	        
Thanx in Advance.

regards,

-- 
Kavita Modi
S/W Engg.
Worldgate Network Private Limited.
206,Trividh,
Ring Road,
Surat - 395002.
E-Mail:kavita@worldgatein.net