08-13-2020, 01:54 PM
Thanks for reporting this.
Looking at the code, it is like that this hasn't been ported to Python 3. We are using a 3rd party lightweight wrapper to bind to Microsofts COM support for Active Directory. I don't think this library will run on Python 3. There are some other imports in that folder that are also not Python 3 compliant.
I am not sure how much of this authentication library has been used, but everyone who has is obviously running Python 2. We have switched to using an LDAP binding to Active Directory for our clients so haven't used the COM support libraries for a while. I am not sure if you have LDAP support on your Active Directory installation, but you could use that instead.
That authentication class is:
pyasm.security.LdapADAuthenticate
I will try to find an example configuration for this. However, to be honest, I am not sure how Domains is used with this, but it could be in the binding path used.
Looking at the code, it is like that this hasn't been ported to Python 3. We are using a 3rd party lightweight wrapper to bind to Microsofts COM support for Active Directory. I don't think this library will run on Python 3. There are some other imports in that folder that are also not Python 3 compliant.
I am not sure how much of this authentication library has been used, but everyone who has is obviously running Python 2. We have switched to using an LDAP binding to Active Directory for our clients so haven't used the COM support libraries for a while. I am not sure if you have LDAP support on your Active Directory installation, but you could use that instead.
That authentication class is:
pyasm.security.LdapADAuthenticate
I will try to find an example configuration for this. However, to be honest, I am not sure how Domains is used with this, but it could be in the binding path used.