Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-25514

CREATE USER Host Name Component netmasks documentation error

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 10.5.9
    • N/A
    • Documentation
    • None

    Description

      CREATE USER:
      https://mariadb.com/kb/en/create-user/

      Host Name Component says:
      You can only use netmasks that specify a multiple of 8 bits of the address to match. That is, only the following netmasks are allowed:
      255.0.0.0
      255.255.0.0
      255.255.255.0
      255.255.255.255

      Looking at sql/sql_acl.cc, the paragraph above appears not to be true.

      If that is the case, it should be removed.

      Thank you!
      Daniel Lewart
      Urbana, Illinois

      Attachments

        Issue Links

          Activity

            danblack Daniel Black added a comment -

            Which bit isn't true? You've asked in MDEV-25515 for the feature of full CIDR to be added.

            If you are confident of things, the kb changes can be edited by yourself, however noting problems is much appreciated.

            danblack Daniel Black added a comment - Which bit isn't true? You've asked in MDEV-25515 for the feature of full CIDR to be added. If you are confident of things, the kb changes can be edited by yourself, however noting problems is much appreciated.
            lewart Daniel Lewart added a comment -

            Daniel,

            This bit is not true:
            "You can only use netmasks that specify a multiple of 8 bits of the address
            to match. That is, only the following netmasks are allowed:
            255.0.0.0
            255.255.0.0
            255.255.255.0
            255.255.255.255"

            MDEV-25515 is about CIDR notation (e.g. /24), not about allowed netmask values
            (e.g., 255.255.255.0), so it is not relevant to this particular issue.

            Do I need to create another account (besides Jira) to edit the KB?

            Thank you!
            Dan
            Urbana, Illinois

            lewart Daniel Lewart added a comment - Daniel, This bit is not true: "You can only use netmasks that specify a multiple of 8 bits of the address to match. That is, only the following netmasks are allowed: 255.0.0.0 255.255.0.0 255.255.255.0 255.255.255.255" MDEV-25515 is about CIDR notation (e.g. /24), not about allowed netmask values (e.g., 255.255.255.0), so it is not relevant to this particular issue. Do I need to create another account (besides Jira) to edit the KB? Thank you! Dan Urbana, Illinois
            danblack Daniel Black added a comment -

            If you login using github or another authentication mechanism there you'll have edit access.

            danblack Daniel Black added a comment - If you login using github or another authentication mechanism there you'll have edit access.
            greenman Ian Gilfillan added a comment -

            lewart is the current version of the page satisfactory?

            greenman Ian Gilfillan added a comment - lewart is the current version of the page satisfactory?
            lewart Daniel Lewart added a comment -

            Looks good! Thank you for taking care of this.

            lewart Daniel Lewart added a comment - Looks good! Thank you for taking care of this.

            People

              greenman Ian Gilfillan
              lewart Daniel Lewart
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.