ICode9

精准搜索请尝试: 精确搜索
首页 > 系统相关> 文章详细

linux-Git连接到Active Directory

2019-10-29 11:51:27  阅读:225  来源: 互联网

标签:active-directory ldap linux git


目的:

在Oracle Linux 6上设置Git存储库.用户使用AD凭据从Windows,Mac和Linux连接.我想限制基于AD组的访问.我一直在寻找一种设置方法.我已经看到了几个选项,可以对存储库进行细粒度的访问控制,但是我没有找到可以使用AD组来管理访问的任何选项.

所以问题是:这是否可能?有人可以指出说明该过程的文档方向吗?

解决方法:

更新:

现在似乎有更多选择:

> GitLab支持LDAP authentication
> Gogs也支持LDAP

更新:

GitBlit,“用于管理,查看和服务Git存储库的开源纯Java堆栈”,开箱即用,supports LDAP authentication

LDAP can be used to authenticate Users and optionally control Team memberships. When properly configured, Gitblit will delegate authentication to your LDAP server and will cache some user information in the usual users.conf file.

GitBlit也为lists support for Windows authentication,但仅在Windows上安装时才进行,并且仅针对本地帐户进行了测试.

先前的答案:

如果在Windows上将Git服务器移动到Bonobo Git Server,则可以use Windows authentication

Windows Authentication

This authentication is very useful when your git server sits inside the company network and your accounts and logging information could be managed via IIS. The advantage of this approach is that your users won’t have to create another account for logging to Bonobo Git Server. They will use the existing Windows account they use on the network.

在Linux上可以这样做,但不太容易.您可能必须将PAM设置为使用LDAP或Kerberos身份验证,然后再设置configurationdo quite a lot.如果您具有Windows许可证,我强烈建议您检查Bonobo.

标签:active-directory,ldap,linux,git
来源: https://codeday.me/bug/20191029/1959614.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有