From: Stephen Frost <sfrost@snowman.net>
To: John Slattery <johntslattery@gmail.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: GSSAPI Authentication Problem
Date: Fri, 3 Aug 2012 17:41:24 -0400
Message-ID: <20120803214124.GJ1267@tamriel.snowman.net> (raw)
In-Reply-To: <CA+hybRUoqKK_ZZ4HGsE1R1OjVbzw4UUVXO7-cW9JM1gjZ=oQLw@mail.gmail.com>
References: <CA+hybRXOLR4JHCG=PU4WkTPJkShEne-gBXuaXE604NAeQ78h0A@mail.gmail.com>
<20120803135146.GG1267@tamriel.snowman.net>
<CA+hybRVht9_6HfTSa+5P-_0VCfrd8qUXq3XxFTNWdmBu0KFc7w@mail.gmail.com>
<20120803165428.GH1267@tamriel.snowman.net>
<CA+hybRUoqKK_ZZ4HGsE1R1OjVbzw4UUVXO7-cW9JM1gjZ=oQLw@mail.gmail.com>
John,
* John Slattery (johntslattery@gmail.com) wrote:
> Following is the information you suggested reporting. The test is with
> 'User Name' = 'john'. I used a system DSN generated with the ODBC data
> source administrator. Before I set 'User Name' = 'john', I
> successfully tested the DSN with user csmprovver whose AD and PG names
> are identical with 'User Name' = ''.
After you have tried to connect, you might try running 'klist' on the
Windows system and reviewing the tickets to see if you acquired a ticket
for the postgres service.
In general, this does look very similar to our setup (which works just
fine). I will say that we always use "include_realm=1" and then have
the mapping include the realm, eg:
pg_hba.conf:
host all all 0.0.0.0/0 gss include_realm=1 map=krbmap
pg_ident.conf:
krbmap /^[mM]12345@REALM\.ORG$ sfrost
In the end, however, it sounds like that's some kind of GSSAPI issue
that's causing trouble (hence the gssapi auth complaint in the server
log). Is there any additional information around that error about what
the GSSAPI error is? Have you tried increasing the verbosity of the
server messages to see if more information is provided?
Thanks,
Stephen
Attachments:
signature.asc (application/pgp-signature, 197B) 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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: sfrost@snowman.net, johntslattery@gmail.com
Subject: Re: GSSAPI Authentication Problem
In-Reply-To: <20120803214124.GJ1267@tamriel.snowman.net>
References: <CA+hybRXOLR4JHCG=PU4WkTPJkShEne-gBXuaXE604NAeQ78h0A@mail.gmail.com> <20120803135146.GG1267@tamriel.snowman.net> <CA+hybRVht9_6HfTSa+5P-_0VCfrd8qUXq3XxFTNWdmBu0KFc7w@mail.gmail.com> <20120803165428.GH1267@tamriel.snowman.net> <CA+hybRUoqKK_ZZ4HGsE1R1OjVbzw4UUVXO7-cW9JM1gjZ=oQLw@mail.gmail.com> <20120803214124.GJ1267@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