git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git Server Authentication & Management

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jan 4, 2010, 16:33 UTC
Message-ID
<20100104163316.GC22872@spearce.org>
In-Reply-To
<1a710981001040827q23f61bdew8db1ae76d5bfb855@mail.gmail.com>
Pedro Lemos <pedrolemos454@gmail.com> wrote:
Show 8 quoted lines
> I'm relatively new to Git.
> At the moment I'm trying to understand if it will be possible to:
> 
> 1 - configure a central server (server A) to host all my git repositories.
> 2 - also I would like to configure access to those Git repositories in
> order to use authentication:
>         - using LDAP;
>         - using MS Active Directory;

You might want to look at Gerrit Code Review [1]. It has out-of-the-box support for integration with Active Directory.

[1] http://code.google.com/p/gerrit/
 
> 3 - Moreover, I would like to know if is there any administration
> interface to use within git repositories?

Gerrit Code Review uses a web based administration interface, though with an LDAP/Active Directory configuration access controls will most likely be managed in the directory server by user membership to groups.

> 4 - And to close this email, I need a way to manage access permissions
> over the server repositories. Such as:
>         - read-write, read-only, or no access at all;
>         - deletes-allowed, renames-allowed, tags allowed;
Yup, Gerrit Code Review can do that.
It also can be used as a code review system.  :-) But if you don't
want to use the code review features, you can just grant out the
Push Branch +1 (or +2 or +3) permission to allow pushing to a branch.
 

A different, but much more popular choice is gitosis [2], but that doesn't use LDAP for user authentication and access management. It uses its own SSH key repository. To be fair, Gerrit Code Review also uses its own SSH key repository... but users can manage their keys individually through the web interface, which is authenticated by LDAP.

[2] http://eagain.net/gitweb/?p=gitosis.git
-- 
Shawn.
Previous: Pedro Lemos
Message 2 of 2 in “Git Server Authentication & Management”
  1. Pedro LemosJan 4, 2010
  2. Shawn O. PearceJan 4, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.