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

Deleting entries with children



hi everybody,
             i am having a problem of deleting entries with children?how
one can delete a dn which has number of children.
i am using perl ldap api using module:- Net::LDAP. 
when i am deleting a particular dn using delete() method it gives an
error:-             LDAP_NOT_ALLOWED_ON_NONLEAF 

so,is there any methods/options that delete the dn with children.
ldap tree structure is:

ldaprootDn
 |
 |
 o=organization
  |
  |
 ou=resellers
    |
    |
(dn)cn=r1--  has  no. of properties
     |
     |
(dn)ou=owners -- has no.of properties
      |
      |
(dn)ou=domains     -- has no. of properties

now if i want to delete   dn => cn=r1,ou=resellers,o=organization  which
deletes all the dns under this dn.

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