CertForums


Go Back   CertForums > Certification Forums > Microsoft Certification Forums > Server Exams


Domain - Local security Database

Reply
 
Thread Tools Display Modes
  #1  
Old 03-Mar-2010, 08:22 PM
beaumontdvd's Avatar
beaumontdvd beaumontdvd is offline
Valued Member
Posts: 467
 
Reputation
Points: 376 beaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 points
Power: 9
Awards
None
Profile
Join Date: 14 Dec 2009
Location: Basingstoke
Age: 20
Certifications: 070-271, 070-272, (MCDST)Level 1,2,3 NVQ
WIP: 070-270, A+, N+, S+,MCDST 7 Upgrade
Rep Power: 9
beaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 points
Domain - Local security Database

Hi all, am I right in saying that in a workgroup each computer has its own local security database and in a domain the local security database isn't held on the DC for security? If not where is it held?

Also that you cannot logon to a domain locally? So when you login you will be logging in using domain credentials based on the active directory entries?

Also what happens if the domains down and AD is not installed would you be able to login to the dc?


Hope someone can explain in the simplest terms as I'm new to this domain environment

thanks,
Dave


Level 1,2,3 NVQ IT USERS (ITQ) Passed
271 - Passed
272 - Passed
(MCDST) (MCP)
270 - Currently Studying -
A+ -
N+ -
 
Reply With Quote
  #2  
Old 03-Mar-2010, 08:29 PM
Boycie's Avatar
Boycie Boycie is offline
Senior Beer Tester
Posts: 6,324
 
Reputation
Points: 1880 Boycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 points
Power: 91
Awards
None
Profile
Join Date: 23 Feb 2005
Location: Cardiff
Certifications: MCSA 2003, MCDST, A+, N+, CTT+, MCT
Rep Power: 91
Boycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 points
Quote:
“
Originally Posted by beaumontdvd View Post
Hi all, am I right in saying that in a workgroup each computer has its own local security database and in a domain the local security database isn't held on the DC for security? If not where is it held?
”
In a workgroup environment each workstation is responsible for it's own security. The database is held by itself, yes. On a domain controller, the local security database is modified when dcpromo is run.

Quote:
“
Originally Posted by beaumontdvd View Post
Also that you cannot logon to a domain locally? So when you login you will be logging in using domain credentials based on the active directory entries?
”
If you are talking about the domain controller, then yes. If you are talking about a client, there is a gpo to prevent a user logging on the workstation.

Quote:
“
Originally Posted by beaumontdvd View Post
Also what happens if the domains down and AD is not installed would you be able to login to the dc?
”
If AD is not installed, you have no domain. If you mean what happens if the DC is down, a message would be presented to the user explaining the domain controller cannot be contacted, or if the cached credentials are configured, it may log the user on although not provide access to resources which require authentication.


Last edited by Boycie; 03-Mar-2010 at 11:23 PM.
 
Reply With Quote
  #3  
Old 03-Mar-2010, 08:47 PM
beaumontdvd's Avatar
beaumontdvd beaumontdvd is offline
Valued Member
Posts: 467
 
Reputation
Points: 376 beaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 points
Power: 9
Awards
None
Profile
Join Date: 14 Dec 2009
Location: Basingstoke
Age: 20
Certifications: 070-271, 070-272, (MCDST)Level 1,2,3 NVQ
WIP: 070-270, A+, N+, S+,MCDST 7 Upgrade
Rep Power: 9
beaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 points
Quote:
“
Originally Posted by Boycie View Post
In a workgroup environment each workstation is responsible for it's own security. The database is held by itself, yes. On a domain controller, the local security database is modified when dcpromo is run.



If you are talking about the domain controller, then yes.



If AD is not installed, you have no domain. If you mean what happens if the DC is down, then would either get a message saying so, or if the cached credentials are configured would log on but would not be able to access resources which require authentication.
”
Thanks mate that makes sense, where is the security database held on a domain controller then? This is the bit that puzzles me, and also say we pulled the ethernet out on the DC but it had active directory would it still be able to log you on if there was a user account setup for dave in AD? Would it cach daves credentials to the dc and then look in ad for the username / password to authenticate it then provide the access token to the user dave?

Thanks,


Level 1,2,3 NVQ IT USERS (ITQ) Passed
271 - Passed
272 - Passed
(MCDST) (MCP)
270 - Currently Studying -
A+ -
N+ -
 
Reply With Quote
  #4  
Old 03-Mar-2010, 09:16 PM
derkit's Avatar
derkit derkit is offline
cert slasher
Posts: 1,298
 
Reputation
Points: 2139 derkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 points
Power: 41
Awards
None
Profile
Join Date: 04 Sep 2006
Location: Londontown
Age: 29
Certifications: see sig below
WIP: 70-270
Rep Power: 41
derkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 points
Quote:
“
Originally Posted by beaumontdvd View Post
Thanks mate that makes sense, where is the security database held on a domain controller then? This is the bit that puzzles me, and also say we pulled the ethernet out on the DC but it had active directory would it still be able to log you on if there was a user account setup for dave in AD? Would it cach daves credentials to the dc and then look in ad for the username / password to authenticate it then provide the access token to the user dave?

Thanks,
”
My understanding is that you'll still be able to logon to a workstation if it has a local profile already created on it. It may have issues trying to access other resources if they need authentication.

The security database - something to do with SAM off the top of my head?

(derkit is learning mode also!)


MBCS, BSc(Hons), Cert(Maths), A+, Net+, MCP, MCDST, ITIL-F v3


Aims:
70-270 (by mid-Feb)
70-290 (by start of June)
70-291 and MCSA (by end of Sep)
CCENT or CCNA (by year-end)


"Get balls deep!" - Craigie
 
Reply With Quote
  #5  
Old 03-Mar-2010, 11:16 PM
Boycie's Avatar
Boycie Boycie is offline
Senior Beer Tester
Posts: 6,324
 
Reputation
Points: 1880 Boycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 points
Power: 91
Awards
None
Profile
Join Date: 23 Feb 2005
Location: Cardiff
Certifications: MCSA 2003, MCDST, A+, N+, CTT+, MCT
Rep Power: 91
Boycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 points
Quote:
“
Originally Posted by beaumontdvd View Post
Thanks mate that makes sense, where is the security database held on a domain controller then?
”
On the controller, mate. When dcpromo is run, the existing database is modified for the directory services.

Quote:
“
Originally Posted by beaumontdvd View Post
say we pulled the ethernet out on the DC but it had active directory would it still be able to log you on if there was a user account setup for dave in AD? Would it cach daves credentials to the dc and then look in ad for the username / password to authenticate it then provide the access token to the user dave?
”
you could still log on, yes. there is nothing to cache if you were at the box. it would be checking against credentials already present.

 
Reply With Quote
  #6  
Old 03-Mar-2010, 11:19 PM
Boycie's Avatar
Boycie Boycie is offline
Senior Beer Tester
Posts: 6,324
 
Reputation
Points: 1880 Boycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 points
Power: 91
Awards
None
Profile
Join Date: 23 Feb 2005
Location: Cardiff
Certifications: MCSA 2003, MCDST, A+, N+, CTT+, MCT
Rep Power: 91
Boycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 pointsBoycie has over 1500 points
Quote:
“
Originally Posted by derkit View Post
My understanding is that you'll still be able to logon to a workstation if it has a local profile already created on it. It may have issues trying to access other resources if they need authentication.
”
There is a gpo to allow a client a logon without domain controller authentication. I think the default is 10. This is handy for say a laptop user who may wish to use their machine outside the domain.

Quote:
“
Originally Posted by derkit View Post
The security database - something to do with SAM off the top of my head?
”
SAM is the local security account manager, opposed to the active directory held on the domain controller.


Last edited by Boycie; 03-Mar-2010 at 11:24 PM.
 
Reply With Quote
  #7  
Old 03-Mar-2010, 11:43 PM
SimonD SimonD is offline
Premium Member
Posts: 1,000
 
Reputation
Points: 6429 SimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 points
Power: 75
Awards
None
Profile
Join Date: 25 Jan 2010
Location: Colchester
Age: 40
Certifications: See Signature.
WIP: MCITP:VA, (WoW), BF-BC2
Rep Power: 75
SimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 points
There are two distinct differences.

Workgroups are machine specific, if you don't have a machine created on the machine locally you can't 'generally' log on.

In AD, if you have the DC go down the only way you could log onto a workstation is if you had previously logged onto it and the machine has it stored in the cache (and yes, by default the machine retains 10 cached profiles).

As far as where the user\password information is kept, that's stored within Active Directory itself, each DC and GC will hold that information allowing you to log in (this is done via Kerberos Tickets), the thing to always remember is that Kerberos relies on a time being correct to within a defined skew (defaults to 5 minutes), if the clock on the machine is out of sync by more than 5 minutes you will have issues.
Another thing worth mentioning is that depending on the type of change AD will only sync at regular intervals, however if you make a change to an account (for instance changing the password) then the AD will sync between all DC's to ensure that they all have the correct and upto date information.

SAM is pretty old school, it was from the old NT4 days (and was actually something you could export to disk and apply programs such as L0pht Crack against).


CNA | CNE | CCNA | MCP | MCP+I | MCSE NT4 | MCSA 2003 | Security+ | MCSA:S 2003 | MCSE 2003 | MCSE:S 2003 | ITIL Foundation v2 | MCTS:SCCM 2007 | MBCS | MCTS:Win 7 | MCITP:EDA7 | MCITP:SA | MCITP:EA | MCTS:Hyper-V

Disclaimer: The views of SimonD are just that, his views. He doesn't suggest or recommend that others live their lives by following his example.
 
Reply With Quote
  #8  
Old 03-Mar-2010, 11:45 PM
derkit's Avatar
derkit derkit is offline
cert slasher
Posts: 1,298
 
Reputation
Points: 2139 derkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 points
Power: 41
Awards
None
Profile
Join Date: 04 Sep 2006
Location: Londontown
Age: 29
Certifications: see sig below
WIP: 70-270
Rep Power: 41
derkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 points
Thumbs up



Thanks for the info boycie


MBCS, BSc(Hons), Cert(Maths), A+, Net+, MCP, MCDST, ITIL-F v3


Aims:
70-270 (by mid-Feb)
70-290 (by start of June)
70-291 and MCSA (by end of Sep)
CCENT or CCNA (by year-end)


"Get balls deep!" - Craigie
 
Reply With Quote
  #9  
Old 03-Mar-2010, 11:46 PM
derkit's Avatar
derkit derkit is offline
cert slasher
Posts: 1,298
 
Reputation
Points: 2139 derkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 points
Power: 41
Awards
None
Profile
Join Date: 04 Sep 2006
Location: Londontown
Age: 29
Certifications: see sig below
WIP: 70-270
Rep Power: 41
derkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 pointsderkit has over 2000 points
Quote:
“
Originally Posted by SimonD View Post
SAM is pretty old school, it was from the old NT4 days (and was actually something you could export to disk and apply programs such as L0pht Crack against).
”
Ah,...... the old school days, and that program I remember working on our network back in '97


MBCS, BSc(Hons), Cert(Maths), A+, Net+, MCP, MCDST, ITIL-F v3


Aims:
70-270 (by mid-Feb)
70-290 (by start of June)
70-291 and MCSA (by end of Sep)
CCENT or CCNA (by year-end)


"Get balls deep!" - Craigie
 
Reply With Quote
  #10  
Old 04-Mar-2010, 12:15 AM
Sparky's Avatar
Sparky Sparky is offline
I`ll have a pint...
Posts: 8,274
 
Reputation
Points: 7855 Sparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 points
Power: 169
Awards
None
Profile
Join Date: 15 Dec 2005
Location: Scotland
Certifications: MSc MCSE MCSA:M MCITP:EA MCTS(x4) N+ A+
WIP: Feels like everything : )
Rep Power: 169
Sparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 pointsSparky has over 4000 points
Quote:
“
Originally Posted by beaumontdvd View Post
Thanks mate that makes sense, where is the security database held on a domain controller then?
”
In a file call ntds.dit

http://www.windowsnetworking.com/kba...eNTDS.DIT.html

 
Reply With Quote
  #11  
Old 04-Mar-2010, 08:14 AM
beaumontdvd's Avatar
beaumontdvd beaumontdvd is offline
Valued Member
Posts: 467
 
Reputation
Points: 376 beaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 points
Power: 9
Awards
None
Profile
Join Date: 14 Dec 2009
Location: Basingstoke
Age: 20
Certifications: 070-271, 070-272, (MCDST)Level 1,2,3 NVQ
WIP: 070-270, A+, N+, S+,MCDST 7 Upgrade
Rep Power: 9
beaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 pointsbeaumontdvd has over 250 points
Thanks everyone for all the help
Im slowly getting through this 270
Just making sure I understand every little bit and going through it gradually
So if the ethernet was pulled out of the dc it would be possible to only logon using credentials I have used previously?
What If I have never logged on before would that make the domain unaccessible?
Thanks for the link sparky

Dave


Level 1,2,3 NVQ IT USERS (ITQ) Passed
271 - Passed
272 - Passed
(MCDST) (MCP)
270 - Currently Studying -
A+ -
N+ -

Last edited by beaumontdvd; 04-Mar-2010 at 08:19 AM.
 
Reply With Quote
  #12  
Old 04-Mar-2010, 11:31 AM
SimonD SimonD is offline
Premium Member
Posts: 1,000
 
Reputation
Points: 6429 SimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 points
Power: 75
Awards
None
Profile
Join Date: 25 Jan 2010
Location: Colchester
Age: 40
Certifications: See Signature.
WIP: MCITP:VA, (WoW), BF-BC2
Rep Power: 75
SimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 pointsSimonD has over 4000 points
Quote:
“
Originally Posted by beaumontdvd View Post
Thanks everyone for all the help
Im slowly getting through this 270
Just making sure I understand every little bit and going through it gradually
So if the ethernet was pulled out of the dc it would be possible to only logon using credentials I have used previously?
What If I have never logged on before would that make the domain unaccessible?
Thanks for the link sparky

Dave
”
It depends on whether you have a GC located on your network, if you do (and it's not your DC) then you can still log on, however if you don't then your machine would need to have something to authenticate you against, that's either a cached profile or a local user account. If it has neither you won't be able to log on to the machine (which makes sense, otherwise you could pretty much just log onto any machine and not worry about security).


CNA | CNE | CCNA | MCP | MCP+I | MCSE NT4 | MCSA 2003 | Security+ | MCSA:S 2003 | MCSE 2003 | MCSE:S 2003 | ITIL Foundation v2 | MCTS:SCCM 2007 | MBCS | MCTS:Win 7 | MCITP:EDA7 | MCITP:SA | MCITP:EA | MCTS:Hyper-V

Disclaimer: The views of SimonD are just that, his views. He doesn't suggest or recommend that others live their lives by following his example.
 
Reply With Quote
Reply

Go Back   CertForums > Certification Forums > Microsoft Certification Forums > Server Exams

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing and security model for local accounts HTF Networking 0 21-Jan-2010 01:43 PM
Ccna vtp cisco lab rat Routing & Switching 0 18-Dec-2009 09:56 PM
Want to dip your toe into Security ? UKDarkstar Security Exams 8 23-Feb-2009 01:22 PM
Migrating Vista Local User Profiles to Domain? fortch Software 6 08-Jun-2008 11:08 AM


All times are GMT +1. The time now is 12:44 AM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
CertForums.co.uk (C) copyright 2003-2009 All Rights Reserved. Content published on CertForums.co.uk requires permission for reprint.
Lunarpages.com Web Hosting