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

Anonymous user with skip-resolve-name recognized as 'USERNAME' on Windows

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • None
    • N/A
    • Documentation
    • None
    • Windows

    Description

      MDEV-30487 showed example of missing test case with skip-name-resolve and anonymous user in mtr.
      When user connects with anonymous user, connection resolves to USERNAME on Windows only environment, rather to anonymous user.
      This situation doesn't occur for non-Windows OS-es.
      It may be expected behavior, but I didn't find any reference about in KB.
      By testing, this may be related to libmariadb client authentication here where USERNAME is read instead of mysql->user, for which mysql->user[0]='', and I guess because of function read_user_name implementation on Windows, that is using USERNAME.

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              anel Anel Husakovic
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.