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

How to delete all entries in LDAP (fwd)



Can anyone tell me how to delete all entries in LDAP , i tried the 
below command as root .
  ldapdelete  -H ldap://email "dc=phil,dc=com,dc=sg"  -x "(cn=*)"

where email is the hostname where ldap is installed ..

it gave me me the below error 
Delete Result: Operation not allowed on nonleaf (66)
Additional info: subtree delete not supported
Delete Result: Invalid DN syntax (34)
Additional info: invalid DN


Regards
Sunil Verekar
email:sverekar@phildigital.com
      sverekar@yahoo.com