From: Stephen Frost <sfrost@snowman.net>
To: Peter Koczan <pjkoczan@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Postgres 8.3.3, GSSAPI, and Windows XP
Date: Wed, 10 Sep 2008 19:50:45 -0400
Message-ID: <20080910235045.GW16005@tamriel.snowman.net> (raw)
In-Reply-To: <4544e0330809101549k2ad82bd1td15a67838d37200@mail.gmail.com>
References: <4544e0330809101549k2ad82bd1td15a67838d37200@mail.gmail.com>
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
Attachments:
signature.asc (application/pgp-signature, 196B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: sfrost@snowman.net, pjkoczan@gmail.com
Subject: Re: Postgres 8.3.3, GSSAPI, and Windows XP
In-Reply-To: <20080910235045.GW16005@tamriel.snowman.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox