PsGetSID shows two usernames and one SID

We changed the logon name of a person in AD from 'name1' to 'name2'. We had problems with some sql boxes picking up the old 'name2' and using it to authenticate so in tracking down why I ran:

psgetsid name1

and

psgetsid name2

, both give me the same SID. How can one SID have two usernames attached? I have checked the 'Active Directory Users and Computers' mmc snap in and searched the domain for users, contacts or groups>> Name = 'name1' and then 'name2'. Sure enough I get a common result but 'name2' is nowhere to be found in the common result('name1' is the logon name listed for example and it's also in the email field).

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like