[MDEV-25514] CREATE USER Host Name Component netmasks documentation error Created: 2021-04-25  Updated: 2021-07-05  Resolved: 2021-07-05

Status: Closed
Project: MariaDB Server
Component/s: Documentation
Affects Version/s: 10.5.9
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Daniel Lewart Assignee: Ian Gilfillan
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-25515 Request: User Account Host Names usin... Open

 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



 Comments   
Comment by Daniel Black [ 2021-04-26 ]

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.

Comment by Daniel Lewart [ 2021-04-29 ]

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

Comment by Daniel Black [ 2021-04-29 ]

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

Comment by Ian Gilfillan [ 2021-05-17 ]

lewart is the current version of the page satisfactory?

Comment by Daniel Lewart [ 2021-06-01 ]

Looks good! Thank you for taking care of this.

Generated at Thu Feb 08 09:38:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.