authLdap icon indicating copy to clipboard operation
authLdap copied to clipboard

Notice : no bind

Open boutmos opened this issue 4 years ago • 2 comments

Hi,

Thank you for this usefull plugin ;)

I have a problem when a user enter a wrong password on login page.

Notice: No bind successfull. Exception thrown in line 68 in /var/www/html/wp-content/plugins/authldap/authLdap.php on line 427

I fix it by adding error_reporting(0); on ligne 426 in authLdap.php, but it's not a good practice since next update will override my modification.

I uncheck debug LDAP too in plugin configuration, but message is still visible.

Thank you.

boutmos avatar May 26 '20 10:05 boutmos

Hey. Thanks for the report.

Does the user see this message on the login-page? Or is that a message in the log files?

If it is a message on the login-page, then you should set "display_errors" to false in your PHP.ini file. Have a look at the documentation. In general it is a good idea to set display_errors and display_startup_errors to false in production environments.

If it is a message in the log-files: What is the issue that you have with the message? Does it break any processes?

heiglandreas avatar May 27 '20 04:05 heiglandreas

Hi Andreas,

Sorry for late reply. Too many things to do @home and @work due to covid-19...

Yes, users see the message at the top of the login page.

It doesn't break any processes.

Without understanding why, sometimes I can't connect during a few time while other users can. Did the plugin block user that make too many mistakes when they enter their passwords? or it is a process of wordpress ?

Thank you.

Le mer. 27 mai 2020 à 06:49, Andreas Heigl [email protected] a écrit :

Hey. Thanks for the report.

Does the user see this message on the login-page? Or is that a message in the log files?

If it is a message on the login-page, then you should set "display_errors" to false in your PHP.ini file. Have a look at the documentation https://www.php.net/manual/de/errorfunc.configuration.php#ini.display-errors. In general it is a good idea to set display_errors and display_startup_errors to false in production environments.

If it is a message in the log-files: What is the issue that you have with the message? Does it break any processes?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/heiglandreas/authLdap/issues/184#issuecomment-634426148, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKLTLTYDSO4QEAKI2X32TTRTSLUPANCNFSM4NKFHK4Q .

-- Mickaël BERTAINCHANT Technicien systèmes et réseaux, Développeur Web Université de Lille - FST Informatique Tél. : 06-16-19-45-65

boutmos avatar May 28 '20 07:05 boutmos