Debugging LDAP authentication

I'm having trouble where I log in with an AD account and the login page
just sits there with "waiting for server.name". My
/var/log/foreman/production.log only presents me with this upon connection,
and I never get an error back. Where to turn on more logging?

2015-06-15 13:15:19 [I] Processing by UsersController#login as HTML
2015-06-15 13:15:19 [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>
"vw2YeT/+7TBXnLDxxxxxxrSEljVZ0zC6rp0=", "login"=>{"login"=>"account_name",
"password"=>"[FILTERED]"}, "commit"=>"Login"}
2015-06-15 13:15:19 [I] Expire fragment views/tabs_and_title_records-8 (
0.9ms)

Hello,

> I'm having trouble where I log in with an AD account and the login page
> just sits there with "waiting for server.name". My
> /var/log/foreman/production.log only presents me with this upon connection,
> and I never get an error back. Where to turn on more logging?

we have improved this a lot in the recent nightly builds. This will be
part of 1.9 release. I am afraid you need to make some patches to your
instance to see more. The patch is kinda complex tho:

https://github.com/theforeman/foreman/pull/2357

and requires new version of the ldap library we use I believe.

··· -- Later, Lukas #lzap Zapletal