zakird / pyad

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

Python 3 Compatability #56

Closed Nocturem closed 8 years ago

Nocturem commented 8 years ago

raw SID returned from AD passed to Python as a memory view as buffer object is depreciated in favor of memory views. the pywin32 pywintypes.SID initializer doesn't much appreciate this change however by explicitly coercing to the python bytes object it can be satisfied and work for both 2.7 and 3.5