title: how to delete all entries ldap java
body: <p>I have an application in Java, using Spring LDAP and Java Naming. The problem is when I delete a branch that contains entries. example: </p>
  
  <pre><code>root
  |
  |----A
  |    |
  |    |--A1
  |       |
  |       |----A2
  |            |
  |            |---A3  
  |
  |
  |-----B
  </code></pre>
  
  <p>When I try to delete the branch A, sends me the following exception: </p>
  
  <pre><code>[LDAP: error code 66 - subordinate objects must be deleted first]
  </code></pre>
  
  <p>Please help me! thank you! </p>
  
  <p>Greetings.!</p>