2

Is there any way to delete from AD pack of objects with python ldap3? Something like

conn.delete("(CN='auto*'),CN=Users,DC=mycompany,DC=com")

doesn't find any

TIA!

1 Answers1

2

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

cannatag
  • 1,528
  • 11
  • 17