[python-win32] win32security.SID - System Error
Roger Upole
rwupole at msn.com
Thu Feb 12 00:37:45 EST 2004
It appears that the manual constructor is assuming that
the sub-authorities are going to be Long objects, and not
doing any type-checking or error checking, leaving an
exception hanging. You can trigger the same behaviour with
win32security.SID ((0, 0, 0, 0, 0, 5), ('x','y'))
Looks like for a workaround, you can use
win32security.SID ((0, 0, 0, 0, 0, 5), (long(21), long(1511986248)))
Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20040211/c231a00a/attachment.html
More information about the Python-win32
mailing list