回复: ident auth does not works as usual
От | pan snowave |
---|---|
Тема | 回复: ident auth does not works as usual |
Дата | |
Msg-id | OS3P286MB1933E0EFD47E8EEA7D1A4A07D3E0A@OS3P286MB1933.JPNP286.PROD.OUTLOOK.COM обсуждение исходный текст |
Ответ на | Re: ident auth does not works as usual ("David G. Johnston" <david.g.johnston@gmail.com>) |
Список | pgsql-general |
Hi
"Show your psql command that is failing."
[root@~ pg]# /usr/local/pgsql/bin/psql -p5432 -d db1 -h127.0.0.1
psql: error: connection to server at "127.0.0.1", port 5432 failed: FATAL: Ident authentication failed for user "root"
If the error is Ident authentication failed for user "cce", i think the ident config file taked effect.
Reference information:
PG version 15.3
Thanks.
发件人: David G. Johnston <david.g.johnston@gmail.com>
发送时间: 2023年8月26日 14:43
收件人: pan snowave <windxp@live.cn>
抄送: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
主题: Re: ident auth does not works as usual
发送时间: 2023年8月26日 14:43
收件人: pan snowave <windxp@live.cn>
抄送: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
主题: Re: ident auth does not works as usual
On Saturday, August 26, 2023, pan snowave <windxp@live.cn> wrote:
Well , describe as follows:pg_pba.confpg_indent.conftest root cceand login pg via root user , it doesnt work
You are saying root os user can login as pg role cce but that line of the pg_hba.conf doesn’t permit cce to login. In short, the mapping is useless.
David J.
В списке pgsql-general по дате отправления: