Re: pg_ident.conf + regular expressions issue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alexey Shishkin <alexey(dot)shishkin(dot)01(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: pg_ident.conf + regular expressions issue
Date: 2024-10-21 14:51:17
Message-ID: 1556449.1729522277@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.
You haven't given enough detail to determine why that happened;
perhaps failure to do "pg_ctl reload" after changing config files?

One point worth noting is that ident auth only works on TCP
connections, not connections via a Unix socket.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2024-10-21 15:09:02 pg_ident.conf + regular expressions issue
Previous Message Tom Lane 2024-10-21 14:20:12 Re: BUG #18666: Standby cluster does not start after building from Primary cluster.