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
Last Modified: 2016-07-26

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.
Question by:Zack
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 29

Accepted Solution

Olaf Doschke earned 500 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

Open in new window

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

Author Closing Comment

ID: 41728914
Thank you for the information.

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
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.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

752 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