{"thread":{"id":"22093","subject":"Git Server Authentication & Management","startedAt":"2010-01-04T16:27:38Z","lastAt":"2010-01-04T16:33:16Z","messageCount":2,"participants":["Pedro Lemos","Shawn O. Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"130780","messageId":"1a710981001040827q23f61bdew8db1ae76d5bfb855@mail.gmail.com","threadId":"22093","inReplyTo":null,"subject":"Git Server Authentication & Management","fromName":"Pedro Lemos","fromEmail":"pedrolemos454@gmail.com","sentAt":"2010-01-04T16:27:38Z","receivedAt":"2010-01-04T16:27:38Z","isPatch":false,"sender":{"key":"pedrolemos454@gmail.com","avatar":null},"body":"Hi,\n\nI'm relatively new to Git.\nAt the moment I'm trying to understand if it will be possible to:\n\n1 - configure a central server (server A) to host all my git repositories.\n2 - also I would like to configure access to those Git repositories in\norder to use authentication:\n        - using LDAP;\n        - using MS Active Directory;\n\n3 - Moreover, I would like to know if is there any administration\ninterface to use within git repositories?\n4 - And to close this email, I need a way to manage access permissions\nover the server repositories. Such as:\n        - read-write, read-only, or no access at all;\n        - deletes-allowed, renames-allowed, tags allowed;\n\nCan anyone guide me through any items referred above?\nAny help appreciated!\n\nBest Regards,\nPedro Lemos\n"},{"id":"130782","messageId":"20100104163316.GC22872@spearce.org","threadId":"22093","inReplyTo":"1a710981001040827q23f61bdew8db1ae76d5bfb855@mail.gmail.com","subject":"Re: Git Server Authentication & Management","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2010-01-04T16:33:16Z","receivedAt":"2010-01-04T16:33:16Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Pedro Lemos <pedrolemos454@gmail.com> wrote:\n> I'm relatively new to Git.\n> At the moment I'm trying to understand if it will be possible to:\n> \n> 1 - configure a central server (server A) to host all my git repositories.\n> 2 - also I would like to configure access to those Git repositories in\n> order to use authentication:\n>         - using LDAP;\n>         - using MS Active Directory;\n\nYou might want to look at Gerrit Code Review [1].  It has\nout-of-the-box support for integration with Active Directory.\n\n[1] http://code.google.com/p/gerrit/\n \n> 3 - Moreover, I would like to know if is there any administration\n> interface to use within git repositories?\n\nGerrit Code Review uses a web based administration interface, though\nwith an LDAP/Active Directory configuration access controls will\nmost likely be managed in the directory server by user membership\nto groups.\n\n> 4 - And to close this email, I need a way to manage access permissions\n> over the server repositories. Such as:\n>         - read-write, read-only, or no access at all;\n>         - deletes-allowed, renames-allowed, tags allowed;\n\nYup, Gerrit Code Review can do that.\n\nIt also can be used as a code review system.  :-) But if you don't\nwant to use the code review features, you can just grant out the\nPush Branch +1 (or +2 or +3) permission to allow pushing to a branch.\n \n\nA different, but much more popular choice is gitosis [2], but that\ndoesn't use LDAP for user authentication and access management.\nIt uses its own SSH key repository.  To be fair, Gerrit Code Review\nalso uses its own SSH key repository... but users can manage their\nkeys individually through the web interface, which is authenticated\nby LDAP.\n\n[2] http://eagain.net/gitweb/?p=gitosis.git\n\n-- \nShawn.\n"}]}