Re: local authentication with md5

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: local authentication with md5
Дата
Msg-id 27348.1206905555@sss.pgh.pa.us
обсуждение исходный текст
Ответ на local authentication with md5  (Bernhard D Rohrer <graylion@sm-wg.net>)
Ответы Re: local authentication with md5  (Bernhard D Rohrer <graylion@sm-wg.net>)
Список pgsql-admin
Bernhard D Rohrer <graylion@sm-wg.net> writes:
> I have set my authentication to
> # "local" is for Unix domain socket connections only
> local   all         all                               md5 #ident sameuser

Are you sure this actually took effect (ie did you "pg_ctl reload")?

> 30-Mar 17:47 collab-dir: BeforeJob: run command
> "/etc/bacula/scripts/make_catalog_backup bacula postgres
> 'md5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'"
> 30-Mar 17:47 collab-dir: BeforeJob: pg_dump: [archiver (db)] connection
> to database "bacula" failed: FATAL: Ident authentication failed for user
> "postgres"

It's clear that this connection is trying to use ident not md5.
Either you didn't make the pg_hba edit take effect, or bacula
is trying to use TCP instead of Unix-socket connection and you
still have the "host" line set to ident.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Vacuum full crash
Следующее
От: Bernhard D Rohrer
Дата:
Сообщение: Re: local authentication with md5