Question
Extracting ObjectSID from LDAP query
I'm using CFLDAP in CF MX7 to retrieve sAMAccountName,
DisplayName and ObjectSID from a Windows 2003 server. I'm logging
in as Administrator to do this.
ObjectSIDs get returned as a binary values, which I am able to convert to strings via CharsetEncode with encoding us-ascii. But these strings look nothing like what I'm expecting: strings of the form S-x-yyyy-......
Is this because the binary values getting returned are encrypted? If so, is there any way to decrypt them? If not, does anyone know how else I can retrieve the actual ObjectSID values in the form S-x-yyyy-.....?
ObjectSIDs get returned as a binary values, which I am able to convert to strings via CharsetEncode with encoding us-ascii. But these strings look nothing like what I'm expecting: strings of the form S-x-yyyy-......
Is this because the binary values getting returned are encrypted? If so, is there any way to decrypt them? If not, does anyone know how else I can retrieve the actual ObjectSID values in the form S-x-yyyy-.....?
