title: How to remove all records from LDAP?
body: <p>Is it possible to remove all entries from LDAP by one-line commend?</p>
  
  <p>I tried:</p>
  
  <pre><code>ldapdelete -r 'cn=*,dc=domain,dc=com' -w
  </code></pre>
  
  <p>but it's not working. I have no better ideas;/</p>