欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

【转】The password supplied with the username Domain\UserName was not correct. AD密码定期更换

发布时间:2023/12/10 编程问答 39 豆豆
生活随笔 收集整理的这篇文章主要介绍了 【转】The password supplied with the username Domain\UserName was not correct. AD密码定期更换 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

起因

今天想进入SharePoint 2013 Central Administration创建一个WebApplication,尽然发生了错误:

The password supplied with the username Domain\UserName was not correct. Verify that it was entered correctly and try again

具体如下图:

中文意思是Password不正确,验证之后再尝试,想了一下,确实之前AD中设置了密码过期了,所以更新了FarmspDevFarmAcc)的密码,难道是这个原因?

回到顶部

解惑

确实是由于更新了密码导致了验证不通过,所以需要更新Credential:

  • 打开CMD.EXE,快捷键:Win+R
  • 打开STSADM.EXE,先定位STSADM.EXE文件夹:
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\BIN>
  • 更新Credential,运行一下命令:
stsadm.exe -o updatefarmcredentials -userlogin domain\userName -password yourPassword
  • 如果更新命令执行成功,则提示
Operation completed successfully.

OK,退出后重新登陆SharePoint Central Administration,创建新WebApplication就可以成功了

 

总结

以上是生活随笔为你收集整理的【转】The password supplied with the username Domain\UserName was not correct. AD密码定期更换的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。