|
一、 报错内容
Logon Error: 17806, Severity: 20, State: 14.
Logon SSPI handshake failed with error code 0x8009030c, state 14 while establishing a connection with integrated security; the connection has been closed. Reason: AcceptSecurityContext failed. The Windows error code indicates the cause of failure. The logon attempt failed [CLIENT: 192.168.1.3]
Logon Error: 18452, Severity: 14, State: 1.
Logon Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. [CLIENT: 192.168.1.3]
二、 报错原因
从报错信息看应该跟域账号有关系,域账号不受信任,所以无法使用windows验证。
常见于192.168.1.3中曾用A用户(遇到的情况是域账号)连接到数据库,后来A用户密码被修改,但192.168.1.3中仍在使用旧密码尝试连接,导致登录验证报错。
另外遇到过一个情况是A用户的域账号被锁定了,登录时会报这个错误。
三、 解决方法
登录192.168.1.3服务器断开以前使用A用户的连接
或者
登录数据库服务器kill掉A用户的连接
参考
Boring article about fixing a 'Login failed... untrusted domain' issue when connecting to SQL Server. (secretGeek.net)
Common ‘SSPI handshake failed’ errors and troubleshooting | Microsoft Learn
|
|