Is there a way to use Windows Authentication (Active Directory) for a Git server?

China☆狼群 提交于 2019-11-30 11:06:37

You can simply use a shared folder as git repository inside your domain and administer it with your domain users.

c:/> git clone \\myserver\repository\myfolder

Git Credential Manager for Windows is officially supported by Microsoft to use Windows authentication to authenticate yourself to git.

https://github.com/Microsoft/Git-Credential-Manager-for-Windows

You could use Redmine to control user access to Git repositories. In turn, Redmine natively supports authentication with Active Directory. Thus, you have Active Directory authentication for your Git server. We use this setup without problems.

Just a remark in case you don't want to use Redmine. Redmine is in my opinion the best open source project management application out there, and it's really worth using even if you don't need the AD authentication.

You could use scm-manager, which has an active directory plugin.

You can also host the repo with IIS over HTTPS and then protect each project subfolder with Windows user credentials.

You can use Windows Credential Store for Git https://gitcredentialstore.codeplex.com/

It saves your Git credentials in your PC's Windows Credential Store, keeping it safe in a secure location. And it's really easy to use :)

Gitlab Enterprise claims to support Active Directory. I haven't demo'd it yet, but I'm considering it as an option as we migrate a svn server that our organization wants to have AD backing it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!