• Resolved percoz78

    (@percoz78)


    Hi.

    We have some sites With latest Nadti + wordpress 5.8.1 and php 8.0

    On one of them nadi show this error when a NON active directory user tries to login, the user is already in the exclude from ad auth section

    NOTICE: PHP message: PHP Warning: ldap_search(): Search: Operations error in /usr/local/apache2/htdocs/wp-acem/wp-content/plugins/next-active-directory-integration/vendor/adLDAP/adLDAP.php on line 2946
    NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: ldap_get_entries(): Argument #2 ($result) must be of type resource, bool given in /usr/local/apache2/htdocs/wp-acem/wp-content/plugins/next-active-directory-integration/vendor/adLDAP/adLDAP.php:2947
    Stack trace:
    #0 /usr/local/apache2/htdocs/wp-acem/wp-content/plugins/next-active-directory-integration/vendor/adLDAP/adLDAP.php(2947): ldap_get_entries(Resource id #228, false)
    #1 /usr/local/apache2/htdocs/wp-acem/wp-content/plugins/next-active-directory-integration/classes/Ldap/Connection.php(310): adLDAP->findByProxyAddress(‘marcello.percoc…’)
    #2 /usr/local/apache2/htdocs/wp-acem/wp-content/plugins/next-active-directory-integration/classes/Adi/Authentication/LoginService.php(225): NextADInt_Ldap_Connection->findByProxyAddress(‘marcello.percoc…’)
    #3 /usr/local/apache2/htdocs/wp-acem/wp-content/plugins/next-active-directory-integration/classes/Adi/Authentication/LoginService.php(159): NextADInt_Adi_Authentication_LoginService->lookupFromProxyAddresses(‘marcello.percoc…’)
    #4 /usr/local/apache2/htdocs/wp-acem/wp-content/plugins/next-active-directory-integration/classes/Adi/Ui/ConnectivityTestPage.php(290): NextADInt_Adi_Authentication_LoginService->authenticate(NULL, ‘marcello.percoc…’, ‘3010_BackToSals…’)
    #5 /usr/local/apache2/htdocs/wp-acem/wp-content/plugins/next-active-directory-integration/classes/Adi/Ui/ConnectivityTestPage.php(207): NextADInt_Adi_Ui_ConnectivityTestPage->authenticateAndAuthorize(‘marcello.percoc…’, ‘3010_BackToSals…’)
    #6 /usr/local/apache2/htdocs/wp-acem/wp-content/plugins/next-active-directory-integration/classes/Adi/Ui/ConnectivityTestPage.php(161): NextADInt_Adi_Ui_ConnectivityTestPage->collectInformation(‘marcello.percoc…’, ‘3010_BackToSals…’)
    #7 /usr/local/apache2/htdocs/wp-acem/wp-content/plugins/next-active-directory-integration/classes/Adi/Ui/ConnectivityTestPage.php(101): NextADInt_Adi_Ui_ConnectivityTestPage->processData()
    #8 /usr/local/apache2/htdocs/wp-acem/wp-includes/class-wp-hook.php(303): NextADInt_Adi_Ui_ConnectivityTestPage->renderAdmin(”)
    #9 /usr/local/apache2/htdocs/wp-acem/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)
    #10 /usr/local/apache2/htdocs/wp-acem/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #11 /usr/local/apache2/htdocs/wp-acem/wp-admin/admin.php(259): do_action(‘active-director…’)
    #12 {main}
    thrown in /usr/local/apache2/htdocs/wp-acem/wp-content/plugins/next-active-directory-integration/vendor/adLDAP/adLDAP.php on line 2947

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘rror with login and test authentication’ is closed to new replies.