I have seen many of my office Linux machines connected to some domain.
I am wondering as if a machine maintains the list of UID of users in a domain, locally? If yes, then how and who does it? if not then can there be a possibility that a local user and a domain user may have same UID?
For example:
Suppose I have a linux machine connected to a domain say "abc" and I have a user in the domain say "xyz" which has a uid say '1234', Now my question is if I create a local user using adduser, lets say "lmn". Is there a possibility that user "lmn" and "abc" can have same UID? or is it genius of the operating system that it always gives a different UID or someone has to maintain it for the operating system?