pg_ident.conf + regular expressions issue

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alexey Shishkin <alexey(dot)shishkin(dot)01(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: pg_ident.conf + regular expressions issue
Date: 2024-10-21 15:09:02
Message-ID: CAKFQuwY5TtT=ekksb79MgQwp_pU=ytiO+Z3qxessQoRxyT-A5w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Monday, October 21, 2024, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Alexey Shishkin <alexey(dot)shishkin(dot)01(at)gmail(dot)com> writes:
> > Pls. find attached the results of my tests regarding the topic.
> > I'm not 100% sure it's a bug, but at least it doesn't work as expected.
>
> There is something wrong with your test procedure. For example,
> in test05 the log message clearly shows that peer authentication
> failed, although you claimed to be testing ident authentication.
>
>
The OP never said they were using the ident auth-method. The test involves
peer authentication with a user name mapping file, pg_ident.conf. Not
specifically the ident authentication type (which devolves to peer anyway
if the connection is local).

The test seems like it needs some heavy simplification but at a glance it
seems to have the necessary elements buried in it somewhere.

David J.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2024-10-21 15:37:26 Re: pg_ident.conf + regular expressions issue
Previous Message Tom Lane 2024-10-21 14:51:17 Re: pg_ident.conf + regular expressions issue