pg_ident.conf + regular expressions issue

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема pg_ident.conf + regular expressions issue
Дата
Msg-id CAKFQuwY5TtT=ekksb79MgQwp_pU=ytiO+Z3qxessQoRxyT-A5w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_ident.conf + regular expressions issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_ident.conf + regular expressions issue
Список pgsql-bugs
On Monday, October 21, 2024, Tom Lane <tgl@sss.pgh.pa.us> wrote:
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.


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.

В списке pgsql-bugs по дате отправления: