zakird / pyad

Python Active Directory Tools | *Not actively maintained*
http://zakird.github.io/pyad/
176 stars 72 forks source link

NameError: name '_adsi_provider' is not defined #26

Closed rchals closed 10 years ago

rchals commented 10 years ago

Hi! Pyad was running nicely until your last update. It seems to fail at connecting to the domain, but I'm guessing is only because of an undefined variable...

WARN: unable to connect to default domain. Computer is likely not attached to an AD domain File "D:\pyad\pyadinit.py", line 1, in from adbase import set_defaults as pyad_setdefaults File "D:\pyad\pyad\adbase.py", line 39, in class ADBase(object): File "D:\pyad\pyad\adbase.py", line 65, in ADBase adsi_provider = _adsi_provider NameError: name '_adsi_provider' is not defined

zakird commented 10 years ago

fixed in 51795fca4f1326fac05e199c30017642fb67282b

zakird commented 10 years ago

This is fixed and push out in version 0.5.11. Sorry for the inconvenience.

rchals commented 10 years ago

Thks! :-)