worsnoptr
asked on
Are the first 32bits the same for user GUIDs in a 2003 domain?
My developers want to use the first 32bits of a USER GUID from our 2003 native domain to add a logo but i don't know if they will be consistent for all of my users. I looked at the objectguid for some user accounts in ADSI Edit but they are encoded weird so i couldn't figure it out.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I have looked at the GUIDs and they don't seem to be the same just from looking at them but i was wondering if there is anything I am missing since my developers seem to think that this is a normal way to identify a group of users.
ASKER
The GUIDs are not consistant they just wanted to know if the GUID will always be 32 characters which it will as the hash has a fixed size digest in this case
I believe that objectGUID is base64 encoded. You can either decode it or register and use acctinfo.dll from Account Lockout and Managment tools (http://www.microsoft.com/downloads/details.aspx?FamilyId=7AF2E69C-91F3-4E63-8629-B999ADDE0B9E&displaylang=en), which will add new tab to user object properties "Additional Account Info". This tab will display decoded GUID among other information.
You will be able to check yourself that user GUIDs don't have first 32 bits in common. I'm not really sure what are you trying to achieve but user SID for different users in the same domain always has domain SID in the begining.
HTH
Toni