Re: Postgres 8.3.3, GSSAPI, and Windows XP

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Postgres 8.3.3, GSSAPI, and Windows XP
Дата
Msg-id 20080910235045.GW16005@tamriel.snowman.net
обсуждение исходный текст
Ответ на Postgres 8.3.3, GSSAPI, and Windows XP  ("Peter Koczan" <pjkoczan@gmail.com>)
Ответы Re: Postgres 8.3.3, GSSAPI, and Windows XP  ("Peter Koczan" <pjkoczan@gmail.com>)
Список pgsql-admin
Peter,

* Peter Koczan (pjkoczan@gmail.com) wrote:
> Gritty details:
> PostgreSQL 8.3.3
> Windows XP SP2 (32-bit)
> Kerberos for Windows 3.2.2
> Server is running on Red Hat Enterprise Linux 5.2, Kerberos 1.6.2

When using GSSAPI and KfW, you need to set a couple of environment
variables for libpq to pick up on which indicate it should use GSSAPI
rather than SSPI (standard Windows Kerberos/AD stuff):

PGGSSLIB = gssapi

and you'll probably also want:

PGKRBSRVNAME = postgres

Just set those through your computer settings, probably system wide on
the systems in question.

Since it defaults to upper-case POSTGRES on Windows, but if you're
running KfW, I'm guessing you're using just regular MIT/Kerberos and
using 'postgres/hostname.domain@REALM'.

    Enjoy!

        Stephen

Вложения

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

Предыдущее
От: "Peter Koczan"
Дата:
Сообщение: Postgres 8.3.3, GSSAPI, and Windows XP
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: dynamic SQL