Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to determine what Hash Algorithm type is used when SQL logins are created via SSMS in SQL Server 2008?

Posted on 2016-07-25
2
Medium Priority
?
44 Views
Last Modified: 2016-07-26
Heyas,

The question is as the above title: How does a DBA determine what Hash Algorithm type is used when SQL logins are created via SSMS in SQL Server 2008?

Any assistance is appreciated.

Thank you.
0
Comment
Question by:Zack
2 Comments
 
LVL 30

Accepted Solution

by:
Olaf Doschke earned 2000 total points
ID: 41728910
If you create SQL Logins based on Windows accounts SQL Server does not store them at all, the Login process then is delegated to Active Directory and based on OS Login, which is done via NTLMv2 challenge-response authentication protocol.

For SQL Server users, the user data is found in master data and via LOGINPROPERTY():
SELECT name, LOGINPROPERTY(name,'PasswordHashAlgorithm')
FROM syslogins
WHERE password IS NOT NULL
ORDER BY name

Open in new window


0 means a SQL7.0, 1 and 2 are SHA-1 and SHA-2 respectively.
1
 

Author Closing Comment

by:Zack
ID: 41728914
Thank you for the information.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have a large data set and a SSIS package. How can I load this file in multi threading?
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question