Re: ident auth does not works as usual

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: ident auth does not works as usual
Дата
Msg-id CAKFQuwYfrJFMO2fa_Z-kzEfrTJJk8SjxJJfbHsv3WQc0LEK+2Q@mail.gmail.com
обсуждение исходный текст
Ответ на ident auth does not works as usual  (pan snowave <windxp@LIVE.CN>)
Список pgsql-general
On Sunday, August 27, 2023, pan snowave <windxp@live.cn> wrote:
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.

What about your psql command is supposed to inform the system that you want to login at the db role cce?  The ident file doesn’t magically alias one name to another, it’s purpose is to allow some OS user to specify some other name to use to authenticate instead of the OS user they are executing the command with.

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

Предыдущее
От: pan snowave
Дата:
Сообщение: 回复: ident auth does not works as usual
Следующее
От: Luca Ferrari
Дата:
Сообщение: Re: ora2pg -c ora2pg.conf -t COPY -a tablename not working properly