1
1
I saw that I can make PC_A an e.g. Windows Server 2008 a domain controller simply by running dcpromo
After that, I can create a user e.g. George, which is a user in the domain of controller e.g DOMAIN_ABC.
Now I go to another PC_B and if I change the DNS server (in the properties) to "see" the domain controller I created, then in that PC I can log in as DOMAIN_ABC/George although there was no account George created in that PC.
But I can not understand how this works.
I mean when I set as the DNS server machine of PC_B to be PC_A then PC_A is also the domain controller, I mean not only acting relating to Name <-> IP mapping? And then when I open PC_B and type DOMAIN_ABC/George and password and press login, what happens?
PC_B contacts PC_A and sees it is a user and accepts login although there is no account in PC_B?
Could someone please explain the concept of domains in Windows Machines?
@Kyle:So the first time a user of the domain logs to PB_B the DC is contacted.After that, since a local account is created, there is no need to contact the DC.Is this correct? – user65971 – 2011-02-03T20:40:24.053
No it will still look for the DC every time in case account changes or group policy was changed. However if the dc is not available it will login with cached credentials. – Supercereal – 2011-02-03T20:44:45.760
@user65971 Keep in mind that one of the main reasons domains exist is for centralized management if an admin wants to change a users password the computer will need to talk to the DC to get this information so it attempts to get a hold of a DC every time. But at the same time it allows the creation of a local account that will cache the credentials so users with laptops or users across a WAN that is prone to bouncing can still login when A DC is not available. – Supercereal – 2011-02-03T20:51:09.873
@kyle:I go to Control Panel>Manage Accounts of machine PC_B and the only user is local administrator.No George account!Where do you say the local account is created after first login?? – user65971 – 2011-02-04T06:52:15.330
@kyle:I am not familiar with this.If I login as George, I indeed see an account George, but how can I see it's priviliges?If I login as local administrator, I do not see a George (I am talking about
Control Panel>Manage Accounts
) only local admin. Could you please help me understand this?Additionally, when would I need to do in command linecreate login [ABC\George] from windows
,create user George for login [ABC\George]
etc? I think this has been done in PC_B but not sure why – user65971 – 2011-02-04T07:27:19.170The permissions will be manageable from the Domain Controller since the domain users groups, credentials, SID ETC are all coming from the DC. Again this goes back to the centralized management. A good example would be a domain user that logs in at 10-15 different computers. An admin would not want to manage these permissions on each computer. The "user accounts" is only for managing local accounts even if the user was in the local users group (which you can do) any changes made here would ONLY affect the user on that computer. – Supercereal – 2011-02-04T13:46:36.850
If you want to see the users profile on that computer go into documents and settings and you will see the domain users profile there @user65971. You can also go into users in control panel and import them as a local user on the remote computer that can be managed by the local administrator. You may have domain user that you want to make a local admin just on PC B just go to add new user, type in the user name and domain, then the user will also be manageable from the local machine. – Supercereal – 2011-02-04T13:51:24.880
@Kyle:You say
a domain user that logs in at 10-15 different computers
. What does this mean?If user X logs in domain ABC by PC_A and saves a file to desktop and then logs in domain ABC by PC_B does he see the file on desktop of PC_B?Is this also the concept of domain? Have virtually 1 PC? So see the HD by any PC? This part I lost – user65971 – 2011-02-04T16:29:15.337