Jenkins OpenLDAP身份验证不起作用 [英] Jenkins OpenLDAP authentication not working

查看:458
本文介绍了Jenkins OpenLDAP身份验证不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让Jenkins针对本地OpenLDAP服务进行身份验证,即使我可以成功地将任何用户身份验证为管理员DN,我也似乎无法对用户进行身份验证.

I am trying to get Jenkins to authenticate against a local OpenLDAP service, I can't seem to get users authenticated, even though I can successfully authenticate any user as the manager DN.

我已遵循此不推荐使用的教程:

I have follow this deprecated tutorial: DigitalOcean LDAP tutorial. Although this is meant for Ubuntu 12.04 which is deprecated, it seems to still be allright for the biggest part.

我在这里想念什么?

推荐答案

就我而言,我将user search filter更改为mail{0}而不是uid{0}.然后使用电子邮件地址测试连接是否正常.

In my case, I changed user search filter to mail{0} instead of uid{0}. Then use email address to test connection, which works.

这篇关于Jenkins OpenLDAP身份验证不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆