Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-7353

Modify LDAP connection to server to be static to prevent connection failures which will lock mysqld

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Fixed
    • 8.0.19-10
    • 8.0.21-12
    • Simple LDAP
    • None

    Description

      Specifying incorrect parameters to the LDAP plugin will lock mysqld:

       2020-09-29T13:52:28.990359Z 0 [Warning] [MY-000000] [Server] Too many connections

      Error log will print:

      2020-09-29T13:54:08.061091Z 32 [Warning] [MY-000000] [Server] Plugin authentication_ldap_simple reported: ': Unsuccesful bind: ldap_sasl_bind_s(cn=zoidberg,cn=Users,dc=perconatest,dc=com) Can't contact LDAP server' 

      We should print warnings instead and make this a non-fatal error, and return immediately.

      Attachments

        Issue Links

          Activity

            People

              zsolt.parragi Zsolt Parragi
              michael.coburn@percona.com Michael Coburn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 3 hours
                  3h

                  Smart Checklist