Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Troubleshooting auth_ldap

Ben Tyger edited this page May 2, 2013 · 1 revision

Look at the logs

Since at this time (1.7.x) TTRSS does not have any common logging capabilities, auth_ldap uses the trigger_error() function to send important messages via PHP's internal logging mechanisms. Make sure you have reasonable logging settings for PHP. For more information on PHP logging, check here.

  1. In most cases the errors or messages will show up in your webserver's error log.
  2. If you not seeing any error messages, make sure to set LDAP_AUTH_DEBUG and LDAP_AUTH_LOG_ATTEMPTS to TRUE in the config.php file.

Look at LDAP server

Look at the logs for your LDAP server. You should see the LDAP server doing the following operation provided the LDAP server is set to log these messages.

  1. Bind Anonymously (if anonymous bind are allowed).
  2. Bind as service account.
  3. Search of user by search filter and username.
  4. Re-bind as username's DN to validate password.
  5. Close connection
Clone this wiki locally