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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 8.0.19-10
    • Fix Version/s: 8.0.21-12
    • Component/s: Simple LDAP
    • Labels:
      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

              Assignee:
              zsolt.parragi Zsolt Parragi
              Reporter:
              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