setting up gitlab LDAP-authentication without special gitlab user

前端 未结 3 495
清酒与你
清酒与你 2020-12-28 09:22

I want to set up Gitlab with our company\'s LDAP as a demo. But unfortunately I have to put in an admin password in gitlab.yml to make gitlab access the LDAP service. The pr

3条回答
  •  抹茶落季
    2020-12-28 09:43

    GitLab uses omniauth to manage multiple login sources (including LDAP).

    So if you can somehow extend omniauth in order to manage the LDAP connection differently, you could fetch the password from a different source.
    That would allow you to avoid keeping said password in the ldap section of the gitlab.yml config file.

提交回复
热议问题