pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexey Shishkin <alexey.shishkin.01@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: pg_ident.conf + regular expressions issue
Date: Mon, 21 Oct 2024 10:51:17 -0400
Message-ID: <1556449.1729522277@sss.pgh.pa.us> (raw)
In-Reply-To: <CAL2LCjzN9ZgfLApebD_a=Hi=Q6As8+VwjPS6Fr6LUjj_zDVM+A@mail.gmail.com>
References: <CAL2LCjzN9ZgfLApebD_a=Hi=Q6As8+VwjPS6Fr6LUjj_zDVM+A@mail.gmail.com>

Alexey Shishkin <alexey.shishkin.01@gmail.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





view thread (10+ messages)  latest in thread

Message-ID: <1556449.1729522277@sss.pgh.pa.us>
Permalink:  ../1556449.1729522277@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1556449.1729522277@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alexey.shishkin.01@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: pg_ident.conf + regular expressions issue
  In-Reply-To: <1556449.1729522277@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox