Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

[ForumFAQ]How to troubleshoot error "SSPI handshake failed with error code 0x80090324“

$
0
0

Understanding the problem:

When connect to SQL Server with Windows authentication, you may receive the following message in the SQL Server error log:

SSPI handshake failed with error code 0x80090324, state 14 while establishing a connection with integrated security; the connection has been closed.

Security Support Provider Interface (SSPI) is a set of Windows APIs that allows for delegation and mutual authentication over any generic data transport layer, such as TCP/IP sockets. SQL Server supports Kerberos indirectly through the Windows Security Support Provider Interface (SSPI) when SQL Server is using Windows Authentication.

"SSPI Handshake Failed" error happens usually when connection failed between the server and domain controllers or failed Kerberos Authentication. There are many reason for SSPI Handshake error to appear in SQL Server error log.

Troubleshot the problem:

Download and install the Windows error code lookup tool Err.exe to view error descriptions for Windows Error Codes.

The error code 0x80090324 (SEC_E_TIME_SKEW) means "clock on client and server machines are skewed". In most case, this is a Kerberos issue. Kerberos is using a timestamp to protect against replay attacks. The maximum time skew that can be tolerated between a ticket's timestamp and the current time at the KDC is 5 minutes by default.

Also check the Windows Event Log of client machine, domain controller and the SQL Server machine for existence of W32time error messages.

The solution:

Make sure the clock of client server, domain controller and the server running SQL Server are within five minutes of each other. Or Resynchronize the clock by run w32tm /resync on client machine and SQL Server machine.


Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>