OpenSSO 中的密码重置策略
我必须实施密码重置策略...为此,我在 Glassfish 服务器上部署了 OpenSSO,并将 OpenDS 作为数据存储...我关注了 Indira 的博客...
并执行所有命令....由于我没有配置 SMTP,当我尝试重置特定用户的密码时(注意:我已指定 Gmail ID 作为该用户的电子邮件地址)在回答问题后,我收到确认消息
“您的密码已重置,但我们无法将其发送给您。请联系您的管理员。”
如何在 OpenSSO 和 OpenDS 中配置 SMTP?
I had to implement Password Reset policy....For which I had OpenSSO deployed on Glassfish server and OpenDS as the Data Store...I followed Indira's blog...
And executed all commands....Since I did not configure SMTP, when I try to Reset the Password of a particular User (Note: I hav specified a Gmail ID as the email Address of that user) after answering the Question, I get confirmation saying
"Your password has been reset but we are unable to send it to you. Contact your administrator."
How do I configure SMTP in OpenSSO and OpenDS?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
OpenDS(以及 OpenDJ,持续开放源代码项目)具有一些指向 SMTP 服务器的全局属性。
请注意,它目前不支持身份验证。
$ dsconfig set-global-configuration-prop --port 4444 --hostname
主机名
--bindDN "cn=目录管理器" --bindPassword 密码 --set smtp-server:smtp.example.com - -trustAll --无提示亲切的问候,
Ludovic
OpenDS (and OpenDJ, the continuing open source project) has some global properties to point to the SMTP server.
Note that it doesn't support authentication at this point.
$ dsconfig set-global-configuration-prop --port 4444 --hostname
hostname
--bindDN "cn=Directory Manager" --bindPassword password --set smtp-server:smtp.example.com --trustAll --no-promptKind regards,
Ludovic
我刚刚遇到了这个问题,所以为了记录,我认为这可能是因为您需要用真实的电子邮件地址替换 WEB-INF/classes/amPasswordResetModuleMsgs*.properties 文件中的
。我发现我的身份验证调试日志文件中有此错误:
我最初在 OpenAM 邮件列表上找到了解决方案:http://lists.forgerock.org/pipermail/openam/2012-April/005912.html
我使用这个 sed 命令一次更新所有文件:
I just had this problem, so for the record I think it's probably because you need to replace
<Password-Administrator>
in the WEB-INF/classes/amPasswordResetModuleMsgs*.properties files with a real email address.I found that my Authentication debug log file had this error in it:
I found the solution on the OpenAM mailing list originally: http://lists.forgerock.org/pipermail/openam/2012-April/005912.html
I used this sed command to do update all the files at once: