Gitolite authentication using ldap over web on https

56 Views Asked by At

I want to setup my gitolite server in web using ldap credentials and perform all git features .Currently I am able to host my server in web but only as a normal user , now I want to login through ldap credentials .

my requirement is to use only https/http , no ssh or any keys .

Please let me know if anyone has the answer or any documents for it .It would be really helpful.

I am able to host my server in web but only for normal user , now I want to login through ldap credentials .

I tried googling it , got a lot of stuff tried it but didn't get any results .

1

There are 1 best solutions below

3
VonC On

Not tested, but you can try and check out tillsteinbach/gitolite-ldap-config.

It redirects ssh calls to ldap_authorized_keys.sh, which then perform a $LDAPSEARCH -x -o ldif-wrap=no -LLL '(&(objectClass=inetOrgPerson)(sshPublicKey=*))' sshPublicKey