Thx Roger, I have been off line for a few days. I am sorry not to reply
earlier. I will try this, but I am not sure what "buffer" does ( I am a
newbie to python).
"Roger Upole" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You can use the binascii module to convert the raw
> bytes
You can use the binascii module to convert the raw
bytes of the sid to hex.
binascii.b2a_hex(buffer(MySid))
Roger
"LittlePython" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>I am trying to create a hexstring of a NT4 user account sid which I can in
> turn use to query an e