I recently setup gitolite, where users access git repository with "gitolite" user through ssh.
Now I would like to integrate that into LDAP. Each user has pubkey in LDAP and if he has "git" objectClass, he would be able to access "gitolite" user through ssh.
I know it's possible to store public keys in LDAP, I'm not sure if it possible to allow authentication in "gitosis" account based on objectClass.
EDIT: To clarify, with objectClass git, user "foobar" would be able to login as "gitolite" through ssh