I was trying to add permission for managing one AD group to another AD group via Python. In powershell its done by the "DSACLS" command and i was trying to find a way to do it in Python through the ldap3 module, but if its possible via any other library please mention that as well.
The powershell command i am trying to emulate look like this
dsacls \$domainController\$ownerGroupDN /G """$ownerGroupDN"":WPRP;member;"
I was trying to do the same but via Python to run it via AWS lambda.
Any help would be highly appreciated.
Thanks