I am trying to mass delete users using ldapdelete using a file constructed with the dn's. I tried deleting a sampling of users; however, executing the command I receive the following.
> DELETE operation failed
Result Code: 66 (Not Allowed on Non-Leaf)
Additional Information: The entry 'inum=@!27F4.FE38.1934.8E70!0001!CFB0.2A48!0000!D728.F531.75A6.9450,ou=people,o=@!27F4.FE38.1934.8E70!0001!CFB0.2A48,o=gluu' cannot be removed because it has subordinate entries
The command I execute is:
```
/opt/opendj/bin/ldapdelete --port 4444 --hostname localhost --bindDN "cn=Directory Manager" --useSSL --bindPasswordFile ~/.ldappw --trustAll --filename sample.txt
```
Do I need to specify --deleteSubtree or have I missed something else?
Best Regards,
David