Re: ident client authentication

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: ident client authentication
Дата
Msg-id 20051108173526.GA6385@wolff.to
обсуждение исходный текст
Ответ на Re: ident client authentication  (Paul Hide <paul.hide@gmail.com>)
Список pgsql-general
On Tue, Nov 08, 2005 at 17:18:32 +0000,
  Paul Hide <paul.hide@gmail.com> wrote:
> Many thanks for your reply.
>
> The web server runs as what/whoever it does by default. I haven't changed
> it.
>
> I understand what you are getting at, because Richard Huxton pointed out to
> me that the script is probably running as the web server user.
>
> The script runs as 'apache' (let us say), the connect in the python program
> is by 'jim'. Then what does sameuser mean in the hba file.

That is a special mapping that says that ident should return the same string
as is used for the postgres username. Based on your description above, they
aren't going to match.

However, you can create custom ident maps that allow either apache or jim to
connect as postgres user jim.

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

Предыдущее
От: Will Wright
Дата:
Сообщение: Re: Programmatic method to determine currently installed Windows PostrgreSQL version
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Beyond the 1600 columns limit on windows