[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 45
  • Last Modified:

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

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
Zack
Asked:
Zack
1 Solution
 
Olaf DoschkeSoftware DeveloperCommented:
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
 
ZackGeneral IT Goto GuyAuthor Commented:
Thank you for the information.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now