Ubuntu – git authentication with Active Directory user

active-directoryauthenticationgit

I use likewise-open to connect to a Windows AD, and I am able to see AD users.

What should I do to authenticate a user for git when I push to and pull from a git repository? Where is this configured?

Best Answer

There is already already this script for group user authentication through AD, within gitolite, in the contrib/ldap directory.
The idea remain to have an intermediate layer (here with gitolite, a ssh-based layer through forced commands), which is able to authorized a git command based on the result of a LDAP query.

Related Question