gitlabhq/gitlabhq — pull request #2557 by jasl8r (2013-01-10 22:23:58+00:00)
Title: Authenticate LDAP users in the grack module

This resolves issue #2012.

I had suggested some options in the original pull request for this issue, but in the end I used the omniauth-ldap module directly to perform the authentication. This does two things, it keeps the code in the grack_auth module simpler, and it ensures that any LDAP repository and settings working with devise and the main site should work here.