Re: BUG #16380: documentation: host[no]gssenc vs. address/IP-address/IP-mask fields

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: tureba(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16380: documentation: host[no]gssenc vs. address/IP-address/IP-mask fields
Date: 2020-04-21 18:27:36
Message-ID: 20200421182736.GG19613@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, Apr 19, 2020 at 06:29:31PM +0000, PG Bug reporting form wrote:
> The following bug has been logged on the website:
>
> Bug reference: 16380
> Logged by: Arthur Nascimento
> Email address: tureba(at)gmail(dot)com
> PostgreSQL version: 12.2
> Operating system: Documentation
> Description:
>
> Hi,
>
> I see a couple of inconsistencies in the documentation of the pg_hba.conf
> file in v12+:
> https://www.postgresql.org/docs/12/auth-pg-hba-conf.html (and /current/)
>
> 1. Near the top, there's a line saying "A record can have one of the seven
> formats", then the followup list shows 9 formats. The ones on host[no]gssenc
> were added to the IP-address/IP-mask section, but not to the address
> section. I believe the intention was to have 11 lines there, with a
> corresponding count at the top.
>
> 2. In the address and IP-address/IP-mask descriptions, there's "This field
> only applies to host, hostssl, and hostnossl records." and "These fields
> only apply to host, hostssl, and hostnossl records.". But those lists should
> probably be updated as well to add host[no]gssenc (or to negate the logic,
> saying they are not applied to local connections).

I agree with your suggestions. I also noticed that pg_hba.conf is
missing gssapi entries too, so I added them to the attached patch. too.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EnterpriseDB https://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

Attachment Content-Type Size
hba.diff text/x-diff 2.6 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Arthur Nascimento 2020-04-21 18:45:47 Re: BUG #16380: documentation: host[no]gssenc vs. address/IP-address/IP-mask fields
Previous Message Bruce Momjian 2020-04-21 16:39:29 Re: BUG #16370: pgadmin broken