I have found articles regarding how to install Git on a Windows server and use SSH (such as CopSSH) for authentication. I am a little surprised by this as I remember reading that one should not use a Windows machine for a shared Git repository (sorry don't remember where I read that). My question is can I setup Git to use Windows Authentication rather than SSH? This would be considerably easier for me to administer. Since the machine would be administered by me in my "spare time", easier is better.
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.
© 2022 - 2024 — McMap. All rights reserved.