Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id E489E930E1F for ; Fri, 3 Aug 2012 18:41:40 -0300 (ADT) Received: from cl-174.chi-02.us.sixxs.net ([2001:4978:f:ad::2] helo=tamriel.snowman.net) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SxPco-0005fL-Bp for pgsql-odbc@postgresql.org; Fri, 03 Aug 2012 21:41:40 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id F240A221A8; Fri, 3 Aug 2012 17:41:24 -0400 (EDT) Date: Fri, 3 Aug 2012 17:41:24 -0400 From: Stephen Frost To: John Slattery Cc: pgsql-odbc@postgresql.org Subject: Re: GSSAPI Authentication Problem Message-ID: <20120803214124.GJ1267@tamriel.snowman.net> References: <20120803135146.GG1267@tamriel.snowman.net> <20120803165428.GH1267@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eLzyubmMEGL80ZD1" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.2.0-1-amd64 (x86_64) X-Uptime: 17:33:42 up 159 days, 3:39, 7 users, load average: 0.16, 0.14, 0.09 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201208/8 X-Sequence-Number: 10917 --eLzyubmMEGL80ZD1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --eLzyubmMEGL80ZD1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAlAcRYQACgkQrzgMPqB3kiiENACfd2HI0n3MokJdRSar84moX09k RsgAn0uPGJiENamLx+FAxQYW+NOU22t+ =eZmt -----END PGP SIGNATURE----- --eLzyubmMEGL80ZD1--