python ldap3 bulk delete users and groups
<p>Is there any way to delete from AD pack of objects with python ldap3?
Something like </p>

<pre><code>conn.delete("(CN='auto*'),CN=Users,DC=mycompany,DC=com")
</code></pre>

<p>doesn't find any</p>

<p>TIA!</p>

<p>You can't. The LDAP protocol doesn't allow such an operation. You must use a conn.delete() for each user to delete.</p>

python active-directory ldap3