在 Mac OS X 上配置 Nexus LDAP
安装了 Nexus,看起来非常好。
LDAP 配置分两部分完成。在页面的上半部分,您提供域信息和信用等以进行身份验证,然后下半部分是关于用户映射。
我终于认证成功了。但是,用户映射失败。我收到错误:
There is an error communicating with the server.
LDAP Realm is not configured correctly: Failed to retrieve ldap information for users.
Nexus returned an error: ERROR 400: Bad Request
奇怪的是,您真正需要在底部设置的唯一内容是 ou.我已将其设置给用户。我阅读了文档并验证了 ou 不应位于上面的搜索库 (dn) 中,并且我还注意到成功的身份验证 (CRAM-MD5) 位于服务器上的日志中。
Got Nexus installed, looks really nice.
The LDAP configuration is done in 2 parts. In the top half of the page, you provide the domain information and creds, etc., for authentication, then the bottom half is about user mapping.
I finally got the authentication to succeed. However, the user mapping is failing. I am getting the error:
There is an error communicating with the server.
LDAP Realm is not configured correctly: Failed to retrieve ldap information for users.
Nexus returned an error: ERROR 400: Bad Request
The curious thing is the only thing you really have to set at the bottom is the ou. I have that set to users. I read the docs and verified that the ou should not be in the search base above (dn) and I also noted that the successful auth (CRAM-MD5) is in the logs on the server.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
修复了这个问题。事实证明,开放目录不使用 ou。将基本 DN 更改为 cn=users 且基本 DN = cn=groups。现在可以了。 (我猜没有人在 mac mini 服务器上使用 Nexus。)
对于群组,我发现这些设置有效:
您可以通过测试来找到关键字
Fixed this. Turns out that Open Directory does not use ou. Changing the Base DN to cn=users and Base DN = cn=groups. It works now. (Guess no one else is using Nexus on a mac mini server.)
For groups, I found these settings work:
You can find the keywords by testing with