
Can anyone point me in the right direction for debugging LDAP authentication? Running the most current stable release of the Professional edition currently on CentOS 7 (in our test environment). Upgraded PHP to 7.1, as the older PHP we had installed was not working, now I cannot log in. It just loops me back to the main page. I was also getting TLS negotiation errors (with a blank error message) though I seem to have solved that particular issue for now. I can't seem to figure out how to enable debug logging though so that I can find out what's going on...

hey, just append /debug to the observium URL in your browser and it will show you LDAP debug when you try to log in /Markus
2017-02-13 21:53 GMT+01:00 Ryan DeShone ryan@deshone.net:
Can anyone point me in the right direction for debugging LDAP authentication? Running the most current stable release of the Professional edition currently on CentOS 7 (in our test environment). Upgraded PHP to 7.1, as the older PHP we had installed was not working, now I cannot log in. It just loops me back to the main page. I was also getting TLS negotiation errors (with a blank error message) though I seem to have solved that particular issue for now. I can't seem to figure out how to enable debug logging though so that I can find out what's going on... _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

I'm afraid that hasn't worked for me. I don't get any additional output in-browser and I don't see anything of note in the observium logs directory. Where should that log info be showing up?
On Mon, Feb 13, 2017 at 4:31 PM, Markus Klock markus@best-practice.se wrote:
hey, just append /debug to the observium URL in your browser and it will show you LDAP debug when you try to log in /Markus
2017-02-13 21:53 GMT+01:00 Ryan DeShone ryan@deshone.net:
Can anyone point me in the right direction for debugging LDAP authentication? Running the most current stable release of the Professional edition currently on CentOS 7 (in our test environment). Upgraded PHP to 7.1, as the older PHP we had installed was not working, now I cannot log in. It just loops me back to the main page. I was also getting TLS negotiation errors (with a blank error message) though I seem to have solved that particular issue for now. I can't seem to figure out how to enable debug logging though so that I can find out what's going on... _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

You have to enable debug in the config first:
$config['web_debug_unprivileged'] = TRUE;
On Mon, Feb 13, 2017 at 3:41 PM, Ryan DeShone ryan@deshone.net wrote:
I'm afraid that hasn't worked for me. I don't get any additional output in-browser and I don't see anything of note in the observium logs directory. Where should that log info be showing up?
On Mon, Feb 13, 2017 at 4:31 PM, Markus Klock markus@best-practice.se wrote:
hey, just append /debug to the observium URL in your browser and it will show you LDAP debug when you try to log in /Markus
2017-02-13 21:53 GMT+01:00 Ryan DeShone ryan@deshone.net:
Can anyone point me in the right direction for debugging LDAP authentication? Running the most current stable release of the Professional edition currently on CentOS 7 (in our test environment). Upgraded PHP to 7.1, as the older PHP we had installed was not working, now I cannot log in. It just loops me back to the main page. I was also getting TLS negotiation errors (with a blank error message) though I seem to have solved that particular issue for now. I can't seem to figure out how to enable debug logging though so that I can find out what's going on... _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Thank you, that at least got me the debug output. Has anyone used the ldap auth backend using an LDAP server that requires OTP tokens? If so, did you need to use a service account to bind for lookups?
It seems like it is binding fine the first time, then subsequent lookups binds fail. They just turned the OTP requirement on between when this was working and when it wasn't. I was hoping to avoid having to get a service account by just using the users credentials to do lookups, which had been working fine so far.
On Mon, Feb 13, 2017 at 5:23 PM, Dan Letkeman danletkeman@gmail.com wrote:
You have to enable debug in the config first:
$config['web_debug_unprivileged'] = TRUE;
On Mon, Feb 13, 2017 at 3:41 PM, Ryan DeShone ryan@deshone.net wrote:
I'm afraid that hasn't worked for me. I don't get any additional output in-browser and I don't see anything of note in the observium logs directory. Where should that log info be showing up?
On Mon, Feb 13, 2017 at 4:31 PM, Markus Klock markus@best-practice.se wrote:
hey, just append /debug to the observium URL in your browser and it will show you LDAP debug when you try to log in /Markus
2017-02-13 21:53 GMT+01:00 Ryan DeShone ryan@deshone.net:
Can anyone point me in the right direction for debugging LDAP authentication? Running the most current stable release of the Professional edition currently on CentOS 7 (in our test environment). Upgraded PHP to 7.1, as the older PHP we had installed was not working, now I cannot log in. It just loops me back to the main page. I was also getting TLS negotiation errors (with a blank error message) though I seem to have solved that particular issue for now. I can't seem to figure out how to enable debug logging though so that I can find out what's going on... _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Dan Letkeman
-
Markus Klock
-
Ryan DeShone