Using LDAP as auth method to manage git repositories

前端 未结 2 926
南方客
南方客 2020-12-16 08:20

Does anyone have experience using LDAP as auth method to manage Git Repositories, my boss prefers using LDAP than other tools. Any suggestion will be help! More detailed inf

2条回答
  •  爱一瞬间的悲伤
    2020-12-16 08:23

    Since you mention OpenLDAP, I'm assuming you want to make this work on a Unix/Linux environment.

    Git itself doesn't do authentication afaik. You need to setup ldap to manage the service used to access the git repository. For example if you use SSH then configure your SSH daemon to authenticate against ldap.

    How to configure that exactly depends on the exact setup you're using. If you need help with that I recommend posting a detailed question over on serverfault.com.

    You may also find this related question interesting.

提交回复
热议问题