代码改变世界

SharePoint 2019 无法验证安全令牌用户名和密码

2020-01-02 15:13  四毛的家  阅读(508)  评论(0编辑  收藏  举报

SharePoint 2019 配置FBA,突然有用户报告说登陆不上去。

查看SharePoint日志,遇错误如下:

【中文】
An exception occurred when trying to issue security token: 无法验证安全令牌用户名和密码。.

【英文】

An exception occurred when trying to issue security token: The security token username and password could not be validated..

 

解决思路:

1.SecurityTokenServiceApplicationPool的运行账户确认无误,且密码没有过期。不推荐用LocalSystem账户,如果使用了,请移步:https://bernado-nguyen-hoan.com/2013/07/23/cannot-login-with-fba-and-ad-lds-the-security-token-username-and-password-could-not-be-validated/

 

2.确认用户输入的账户和密码正确。

3.确认用户账户没有勾选“下次登陆时必须更改密码”

4.确认用户的账户没有过期,密码也没有过期。

经查验,我的是第4步导致的,用户账户过期了。