git authentication with Active Directory user
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 videos on Youtube
netmajor
I am interesting in .net platform ;) *Actually i try to use Silverlight(WPF) and WCF, pattern MVVM in my graduation project ;) I planing known Agile methodology(TDD), testing(NUnit, Mocks) and patterns... My stuff : Tools : - MS Visual Studio 2008 Professional,2010 Ultimate - MS SQL Server 2008 Developer programming language: - C# - C/C++ Technology: - ADO.NET Entity Framework - ASP.NET - HTML/XHTML - CSS - JS - JQuery - LINQ (LINQ to Objects, LINQ to SQL, LINQ to XML) - .NET - PHP - XML Database: - MS SQL 2005/2008 - MySql 5 - Firebird 1.5
Updated on September 17, 2022Comments
-
netmajor over 1 year
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?
-
netmajor about 13 yearsI must use ssh? I think about http.. So gitolite should solve authentication problem? I configure it to use AD and to authenticate git repository directory ?
-
VonC about 13 years@netmajor: you need a layer which will have a way to identify the user, in order to match that user with an AD. If you layer has a way to get a user id, then it can be used to query the AD, as the script I mention illustrates. You don't have to use gitolite, but it is an example of such a layer having a secure way to check a user id (since the user has to have the proper private key in order to be matched to his/her deployed public key on the gitolite side).
-
Peachy over 11 yearsWelcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.