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

Re: deleting ldap data

Peter, I'm not sure exactly what this command means

 > ldapdelete -D 'cn=*, dc=baruch, dc=cuny, dc=edu'

but from the manpage for ldapdelete:

     -D binddn
          Use binddn to bind to the LDAP directory. binddn should
          be a string-represented DN as defined in RFC 1779.

I think a minimum command needs to be

  ldapdelete -D binddn -w password dn-of-specific-entry

I don't think you can use 'cn=*,....' You need to search for all
entries and then delete each one individually.

It would help to see your slapd.conf and data in ldif format.
Bill A