• Resolved knipers

    (@knipers)


    I upgraded the PHP version to 7.3.9 and after that LDAP authentication no longer works on wordpress.

    I made a script outside of wordpress and LDAP authentication is working correctly in this script outside of wordpress.

    ——————————

    Warning: ldap_search(): Search: Operations error in C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php on line 636

    Warning: ldap_get_entries() expects parameter 2 to be resource, bool given in C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php on line 641

    Warning: ldap_search(): Search: Operations error in C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php on line 636

    Warning: ldap_get_entries() expects parameter 2 to be resource, bool given in C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php on line 641

    Warning: ldap_search(): Search: Operations error in C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php on line 636

    Warning: ldap_get_entries() expects parameter 2 to be resource, bool given in C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php on line 641

    Warning: ldap_search(): Search: Operations error in C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php on line 636

    Warning: ldap_get_entries() expects parameter 2 to be resource, bool given in C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php on line 641

    Warning: ldap_search(): Search: Operations error in C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php on line 636

    Warning: ldap_get_entries() expects parameter 2 to be resource, bool given in C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php on line 641

    Warning: ldap_search(): Search: Operations error in C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php on line 636

    Warning: ldap_get_entries() expects parameter 2 to be resource, bool given in C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php on line 641

    Warning: ldap_search(): Search: Operations error in C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php on line 636

    Warning: ldap_get_entries() expects parameter 2 to be resource, bool given in C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php on line 641

    Warning: Cannot modify header information – headers already sent by (output started at C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php:641) in C:\inetpub\sites\wordpress\wp-includes\pluggable.php on line 928

    Warning: Cannot modify header information – headers already sent by (output started at C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php:641) in C:\inetpub\sites\wordpress\wp-includes\pluggable.php on line 929

    Warning: Cannot modify header information – headers already sent by (output started at C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php:641) in C:\inetpub\sites\wordpress\wp-includes\pluggable.php on line 930

    Warning: Cannot modify header information – headers already sent by (output started at C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php:641) in C:\inetpub\sites\wordpress\wp-content\plugins\redirection\modules\wordpress.php on line 171

    Warning: Cannot modify header information – headers already sent by (output started at C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php:641) in C:\inetpub\sites\wordpress\wp-includes\pluggable.php on line 1251

    Warning: Cannot modify header information – headers already sent by (output started at C:\inetpub\sites\wordpress\wp-content\plugins\authorizer\src\authorizer\class-authentication.php:641) in C:\inetpub\sites\wordpress\wp-includes\pluggable.php on line 1254

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Paul Ryan

    (@figureone)

    Can you add the same logging statement described here, and let me know what the specific error is from ldap_search()?
    https://www.ads-software.com/support/topic/php-warning-ldap_search/

    Thread Starter knipers

    (@knipers)

    I found the problem! After upgrading PHP and plugin to the latest version, the authentication password has been lost (null).

    So I put the password back in the “LDAP Directory User Password” field and the problem was solved.

    thank you

    • This reply was modified 5 years, 1 month ago by knipers.
    Plugin Author Paul Ryan

    (@figureone)

    Good find! Not sure what caused the LDAP password to be corrupted, we didn’t see that in any testing.

    Regardless, I’ll let the other user in the other thread know this, and see if it’s the same problem for them.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘LDAP not authenticate after update to PHP 7.3.9’ is closed to new replies.