I am confused between the user principal name (UPN) and SAM account name (SAM). Heres what i know
Pre-windows name, for backward compatibility with Windows NT machines etc.
DOMAIN/USERA, looks for USERA inside the domain DOMAIN, hence it is unique in the domain.
20 characters long.
In the email style format(easier for the user to remember).
No character limit.
UPN is the same even if the domain is restructured, for example, even if the the user having UPN USERB@DOMAIN.COM, is not in domain DOMAIN but in DOMAIN B the user can still long because the UPN refers to the Global Catalog(GC) and logs the user in.
But I feel like I am not too clear about this. It would be really helpful if anyone has a better idea of how these two work, and could explain.
Which login method does windows user to log the user on? UPN or SAM?
Does SAM do nothing special other than backward compatibility?
So is it possible if I all my dcs are windows server 2012 R2, I theoretically dont need SAM account name( I still have to use it, I know, but theoretically) anymore?
I have been researching from days now and any detailed explanation, link or article, example would be appreciated.