Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-314

Support for expired passwords

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.4
    • Component/s: None
    • Labels:
      None

      Description

      Since version 5.6.6 the MySQL server supports password expiration.

      Client applications needs an option to indicate, that they are able to handle expired passwords.
      This happens by setting the client_capability CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS. If this capability is set, the server switches to a sandbox mode, in which a new password needs to be defined.

      The capability will be set/unset via mysql_optionsv():

      mysql_optionsv(mysql, MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS, 1);
      

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.