gpt4 book ai didi

sql-server - SQL Server 网络接口(interface)库无法取消注册服务主体名称 (SPN)

转载 作者:行者123 更新时间:2023-12-02 09:41:57 24 4
gpt4 key购买 nike

我已经设置了一个具有读取和写入服务主体名称权限的 SQL Server 服务帐户。当 SQL Server 启动时,我在日志中收到预期消息,显示服务帐户已成功注册 SPN:

The SQL Server Network Interface library successfully registered the Service Principal Name (SPN) [MySPN] for the SQL Server service.

与数据库服务器的连接按预期使用 Kerberos 身份验证,一切似乎都很好。

但是,当我关闭 SQL Server 时,日志中会输入一条消息,显示无法取消注册 SPN:

The SQL Server Network Interface library could not deregister the Service Principal Name (SPN) [MySPN] for the SQL Server service. Error: 0x6d3, state: 4. Administrator should deregister this SPN manually to avoid client authentication errors.

我已检查是否存在重复的 SPN,并检查 SPN 是否已注册到正确的服务帐户,并且仅注册到该帐户。服务器已重启多次。 Microsoft 的 Kerberos 配置管理器不提供任何见解。

我不明白为什么服务帐户被允许创建 SPN 但不允许删除它。

最佳答案

根据this question您可以尝试通过控制面板中的“添加/删除程序”修复 SQL Server 安装。这将重新启动服务,因此您可能必须在非工作时间执行此操作

关于sql-server - SQL Server 网络接口(interface)库无法取消注册服务主体名称 (SPN),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56217572/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com