A
A
Alexander2015-06-25 04:15:01
LDAP
Alexander, 2015-06-25 04:15:01

LDAP in Gitoloite. How to make friends?

I set up a bunch according to the manual
I have gitolite version 2.x
Added to .gitolite.rc

$GL_GET_MEMBERSHIPS_PGM = "/home/git/bin/ldap-query-group.sh";

I tested the script, everything is ok (user alex belongs to three groups)
/home/git/bin/ldap-query-group.sh alex
group1 group2 git

What to do next? How to use these groups in gitolie config?
I need to allow access to everyone in the git group
Tried like this

repo testproject
RW+ = @git
but I get an error in response
remote:
remote: ***** ABORTING *****
remote: undefined group @git

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question