• hi,
    * worpress latest 5.5.3
    * docker install on a desktop (wordpress + phpmyadmin + mysql containers)
    * php-ldap installed in container

    i could configure the plugin somehow with my company’s DC/AD and got a list of users imported somehow
    i never got to the point where imnported users could login with their AD password
    today i am experiencing an error when i test authentication. switching between non security and STARTTLS does not produce a different error so i think it’s not related

    i also created the ldaprc and dc.crt files under wp-admin/ as referenced here https://active-directory-wp.com/docs/Networking/Encryption_with_TLS.html

    what else can i do ? below is the error (wp in debug mode) when i test authentication:

    Fatal error: Uncaught Error: Call to a member function findByProxyAddress() on null in /var/www/html/wp-content/plugins/next-active-directory-integration/classes/Ldap/Connection.php:296 Stack trace: #0 /var/www/html/wp-content/plugins/next-active-directory-integration/classes/Adi/Authentication/LoginService.php(224): NextADInt_Ldap_Connection->findByProxyAddress('[email protected]') #1 /var/www/html/wp-content/plugins/next-active-directory-integration/classes/Adi/Authentication/LoginService.php(159): NextADInt_Adi_Authentication_LoginService->lookupFromProxyAddresses('[email protected]') #2 /var/www/html/wp-content/plugins/next-active-directory-integration/classes/Adi/Ui/ConnectivityTestPage.php(290): NextADInt_Adi_Authentication_LoginService->authenticate(NULL, '[email protected]', 'password') #3 /var/www/html/wp-content/plugins/next-active-directory-integration/classes/Adi/Ui/ConnectivityTestPage.php(207): NextADInt_Adi_Ui_ConnectivityTestPage->authenticateAndAuthorize('[email protected]', 'password') #4 /var/ in /var/www/html/wp-content/plugins/next-active-directory-integration/classes/Ldap/Connection.php on line 296
    
    There has been a critical error on your website. Please check your site admin email inbox for instructions.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author schakko

    (@schakko)

    Please enable the debug.log (https://active-directory-wp.com/docs/Configuration/Logger.html) and check it. There should be something like “Creating adLdap object failed”.
    The reason for it could be a misconfigured TLS, wrong username/password for Sync to WordPress etc.

    To circumvent this issue, you can disable the checkbox “Allow proxy address login”.

    Plugin Author schakko

    (@schakko)

    Just want to get back to you: try to disable the “Use proxy email address” option. There is a bug in it, introduced with a PR.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Call to a member function findByProxyAddress() on null’ is closed to new replies.