I've set up GitLab 6.4 on an EC2 machine. The app is running on HTTPS. I 
enabled LDAP with these settings:

ldap:
    enabled: true
    host: 'ldap.mycompany.com'
    base: 'dc=mycompany,dc=com'
    port: 389
    uid: 'uid=%uid'
    method: "plain"
    bind_dn: 'ou=People,dc=mycompany,dc=com'
    allow_username_or_email_login: true

I restarted the server and see the LDAP login window. I enter my 
credentials and it redirects to /users/auth/ldap/callback – but then it 
keeps loading for several seconds and finally errors out with a 502 – Bad 
Gateway.

The Unicorn log tells me:

I, [2014-01-18T08:50:13.978906 #2308]  INFO -- omniauth: (ldap) Callback 
phase initiated.

The production log says:

Started POST "/users/auth/ldap/callback" for <my public IP address> at 
2014-01-18 08:50:13 +0000

But that's everything I get. Any ideas where to start troubleshooting or 
what the error could be?

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to