I wish to bind to an AD object using its SID. I have seen a sample in MSDN
which binds using this sytax: LDAP://<SID=xxxx>. My problem is that the SID
I have is in binary form. I tried encoding it using ADsEncodeBinaryData, but
ADSOpenObject does not accept it.
So my question is, how do I convert a binary SID to a textutal
representation that I can use with LDAP://<SID=xxxx>?