LDAP Troubleshooter for REDCap

This page can be used to help set up and troubleshoot an LDAP configuration in order to utilize LDAP authentication in REDCap. Use the login form below to log in with an LDAP username/password, and it will attempt to bind and authenticate with your LDAP server using those credentials. It will provide helpful logging and error messages during this process to help you troubleshoot any issues that may occur if it does not successfully authenticate. The LDAP configuration in your ldap_config.php file (displayed below on the right) will be used in this process. If you are unable to authenticate with your current LDAP config, you may try adjusting the settings in your ldap_config.php file until it works. For some LDAP config examples, see the LDAP setup page on the REDCap Community website.

Username:
Password: 

Logging Output:

AUTH_LOG_INFO level messages:
6: AUTH: Rendering Login Form.

AUTH_LOG_DEBUG level messages:
7: AUTH: Auth::start() called.
7: AUTH: Auth::assignData() called.
7: AUTH: Auth::checkAuth() called.
7: AUTH: No login session.
7: AUTH: Auth::login() called.
7: AUTH: Loaded storage container (LDAP)
6: AUTH: Rendering Login Form.
7: AUTH: Calling loginFunction (loginFunctionLdap).
7: AUTH: Auth::checkAuth() called.
7: AUTH: No login session.

LDAP Configuration being used:

Using the ldapdsn array from the LDAP config file at
/var/www/webresearch_id/public_html/redcap/webtools2/ldap/ldap_config.php

Array
(
    [url] => ldap.myinstitution.edu
    [port] => 389
    [version] => 3
    [basedn] => ou=people,dc=myinstitution,dc=edu
    [binddn] => ou=people,dc=myinstitution,dc=edu
    [bindpw] => 
    [attributes] => Array
        (
            [0] => uid
        )

    [userattr] => uid
    [userfilter] => 
    [enableLogging] => 1
)