Re: Authentication Failure with pg_pconnect

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Authentication Failure with pg_pconnect
Дата
Msg-id 20030819160342.GE18374@wolff.to
обсуждение исходный текст
Ответ на Re: Authentication Failure with pg_pconnect  ("scott.marlowe" <scott.marlowe@ihs.com>)
Список pgsql-php
On Tue, Aug 19, 2003 at 09:50:33 -0600,
  "scott.marlowe" <scott.marlowe@ihs.com> wrote:
>
> Note that the username of the client (in this case, likely either httpd or
> nobody) is what postgresql inspects.  your connection string doesn't
> matter since postgresql is now looking for a user account by the name of
> whatever user your web server runs under.

This isn't exactly true. The id given in the connection string is
the one that is to be used for the postgres connection. The username of
the client is checked to see if it is an allowed system user for the
postgres user. It is common to force them to match, but other options
are possible.

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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: Authentication Failure with pg_pconnect
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: Securing PHP scripts