Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

How does SQL Server authenticate windows login ? Expand / Collapse
Author
Message
Posted Wednesday, September 12, 2012 9:55 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Monday, August 18, 2014 8:25 AM
Points: 1,519, Visits: 2,550
Hello,

How does SQL Server authenticate windows login ? I got the following from Microsoft website.

"When a user connects through a Windows user account, SQL Server validates the account name and password using the Windows principal token in the operating system."

Can anyone explain little bit more on what exactly happens when logged in with windows login ?

Thanks in advance.
San.
Post #1358324
Posted Thursday, September 13, 2012 1:52 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 6:49 AM
Points: 5,227, Visits: 5,087
The user account is given a token which in effect is sort of a hash of the details required to login.

The account goes to SQL and says hello here is my token

SQL then goes to the domain controllers and says, Hi, such a user with this token wants to connect, is the information they provided me correct?

If AD says yes the information matches, you login, if not you dont.




Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1358374
Posted Thursday, September 13, 2012 2:11 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Monday, August 18, 2014 8:25 AM
Points: 1,519, Visits: 2,550
Thank a lot. Much clear now.
Post #1358384
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse