免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5143 | 回复: 3
打印 上一主题 下一主题

[网络配置] redmine设置ldap认证,ldap帐号无法登录 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-08-14 15:21 |只看该作者 |倒序浏览
redmine界面设置ldap认证,test连接成功,但是ldap帐号无法登录redmine,请教下这个是什么原因。

论坛徽章:
0
2 [报告]
发表于 2014-08-14 16:03 |只看该作者
官网上的说明
To test this, create a Redmine user with a login that matches his LDAP account (normally, Redmine will advise you by looking up the LDAP data), select the newly created LDAP in the Authentication mode drop-down list (this field is visible on the account screen only if a LDAP is declared) and leave his password empty. Try to log in into Redmine using the LDAP username and password
但是在redmine上建了一个ldap存在的帐号,选择了之前创建的ldap认证名称,还是登录不了。 求解。

论坛徽章:
0
3 [报告]
发表于 2014-08-14 17:21 |只看该作者
redmine日志
Failed login for 'user2' from ::1 at 2014-08-14 09:20:36 UTC
  Rendered account/login.html.erb within layouts/base (0.6ms)

论坛徽章:
0
4 [报告]
发表于 2014-08-14 18:50 |只看该作者
    The LDAP connection test only tests exactly that: a connection against the LDAP server, not an authentication or even if it can fetch the account information it needs.
    See if you have errors in your redmine logs (usually redmine_dir/log/production.log).
    Can you confirm any of the users you created can successfully log into the LDAP server, and that the user redmine connects to the LDAP can fetch all the needed user information (search for a user by uid and read all the other attributes)?

原因是Base DN多加了cn=admin。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP