Troubleshooting auth_ldap - hydrian/TTRSS-Auth-LDAP GitHub Wiki
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.
- In most cases the errors or messages will show up in your webserver's error log.
- 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.
- Bind Anonymously (if anonymous bind are allowed).
- Bind as service account.
- Search of user by search filter and username.
- Re-bind as username's DN to validate password.
- Close connection