I
I
Ivan Podporin2014-10-22 10:53:41
LDAP
Ivan Podporin, 2014-10-22 10:53:41

Jenkins + ldap authentication how?

Good afternoon, you need to configure Jenkins authentication through corporate ldap:

dc=ldap,dc=ru
|
-----ou=users,dc=ldap,dc=ru
       |
       _ юзеры
-----ou=groups,dc=ldap,dc=ru
       |
       _ группы

When specifying jenkins base dn = ou=users,dc=ldap,dc=ruand фильтра пользователей uid={0}, authentication works, but if you specify base dn = dc=ldap,dc=ruthe place where to look for users ou=users,dc=ldap,dc=ru, authentication fails. Let me know if anyone has experienced this. In the Internet I found mana only for AD.
Soft: openldap(slapd)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Slipeer, 2014-10-22
@gremlin_tomsk

  1. If you have openldap - for diagnostics, you can see in the logs what and how it is looking for
  2. Try to just specify the base dn "dc=ldap,dc=ru"
  3. Check that the specified user (Manager DN under which jenkins runs in LDAP has access to "dc=ldap,dc=ru", for example, run ldapsearch from him with scope subtree and basedn "dc=ldap,dc=ru",)

I
Ivan Podporin, 2014-10-22
@gremlin_tomsk

Step 2 helped, thanks!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question