moh_sun
moh_sun

Reputation: 31

Authenticating users in git with LDAP

I have the following

  1. Windows 20008 server as domain controller
  2. Apache 2.2 installed and running
  3. PHP

I installed GIT "Git-1.9.4-preview20140929" on apache and it works fine. I need to make the user authenticate to GIT "push, pull, ...and so on " using their domain credential (active directory)and give them the needed permissions who can read and who can read/write.

Upvotes: 1

Views: 1778

Answers (1)

Chris
Chris

Reputation: 136967

You might want to consider using something like Bonobo Git Server that is designed to work with AD authentication:

  • setup it with your IIS user management
  • Windows and Basic authentication modes support
  • use Active Directory with git to manage your access

Another option is Gitblit, which supports LDAP authentication:

Gitblit supports additional authentication mechanisms aside from it's internal one.

  • LDAP authentication
  • Windows authentication
  • PAM authentication
  • Htpasswd authentication
  • Redmine auhentication
  • Salesforce.com authentication
  • Servlet container authentication

Note that Gitblit's support for "Windows authentication" isn't the same as AD authentication:

Windows authentication is based on the use of Waffle and JNA. It is known to work properly for authenticating against the local Windows machine, but it is unclear if it works properly with a domain controller and Active Directory.

Upvotes: 1

Related Questions