Re: authentication failed

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: authentication failed
Дата
Msg-id 20213.1071764907@sss.pgh.pa.us
обсуждение исходный текст
Ответ на authentication failed  (roboccc@t-online.de (Bogdan Chytrek))
Список pgsql-general
roboccc@t-online.de (Bogdan Chytrek) writes:
> So why does the authentication fail?

Because the PHP script is not running as Unix user bchytrek (most likely
that process runs under some daemon userid or other).  When you are
using IDENT authentication, your Unix user name has to match your
Postgres user name.

You could possibly work around that by creating an IDENT map that allows
the PHP daemon user to be accepted as bchytrek; see the admin guide for
details.  But more likely you'll just want to switch to a different
authentication method.

            regards, tom lane

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

Предыдущее
От: Ron St-Pierre
Дата:
Сообщение: Re: Function Returning SETOF Problem
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: pqReadData() -- read() failed: errno=32