重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 555|回复: 0
打印 上一主题 下一主题

SQL Server SSPI handshake failed报错

[复制链接]
跳转到指定楼层
楼主
发表于 2023-9-27 14:26:58 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
一、 报错内容

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


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-5-3 14:41 , Processed in 0.087089 second(s), 19 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表