Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 62BCB65038B for ; Thu, 24 Jul 2008 21:51:05 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 10224-08 for ; Thu, 24 Jul 2008 21:50:35 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tamriel.snowman.net (tamriel.snowman.net [72.66.115.51]) by postgresql.org (Postfix) with ESMTP id 7387365030E for ; Thu, 24 Jul 2008 21:50:13 -0300 (ADT) Received: by tamriel.snowman.net (Postfix, from userid 1000) id B431184092; Thu, 24 Jul 2008 20:50:12 -0400 (EDT) Date: Thu, 24 Jul 2008 20:50:12 -0400 From: Stephen Frost To: Peter Koczan Cc: pgsql-jdbc@postgresql.org Subject: Re: GSSAPI/KRB5 and JDBC (again) Message-ID: <20080725005012.GB16005@tamriel.snowman.net> Mail-Followup-To: Peter Koczan , pgsql-jdbc@postgresql.org References: <4544e0330807241604ye974d07x34408ac3cc11cf3e@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oLBj+sq0vYjzfsbl" Content-Disposition: inline In-Reply-To: <4544e0330807241604ye974d07x34408ac3cc11cf3e@mail.gmail.com> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/2.6.25-2-amd64 (x86_64) X-Uptime: 20:47:27 up 11 days, 1 min, 24 users, load average: 0.00, 0.03, 0.06 User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200807/52 X-Sequence-Number: 18837 --oLBj+sq0vYjzfsbl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Peter Koczan (pjkoczan@gmail.com) wrote: > Hello again, I've finally had time to test out Kris' patches for > GSSAPI support in the Postgres 8.3 JDBC > (http://ejurka.com/pgsql/jars/gss), but I'm not quite getting it > right, it seems. The JDBC built fine, and it connects properly via > MD5, but it can't get a GSSAPI connection, even with Kris' advice in > http://archives.postgresql.org/pgsql-jdbc/2008-01/msg00154.php I got it working under Linux based off of his comments.. > Caused by: javax.security.auth.login.LoginException: Integrity check > on decrypted field failed (31) So you know, that generally means "wrong password". Have you tried kinit'ing first? Is it prompting you for a password? > Am I forgetting to set something up? I know that GSSAPI in JDBC is > unsupported currently but it would be really nice to offer it even in > a beta capacity. Thanks. I'm *really* anxious to have GSSAPI support in JDBC and fully supported.. I've got it working in a test rig, but I need it working under Linux and Windows for a number of clients and I havn't had time to make sure all the issues are worked through. :/ Thanks! =09 Stephen --oLBj+sq0vYjzfsbl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkiJI0QACgkQrzgMPqB3kijvrwCfZzTonN0axQkiw2TEisuo+1or ePsAoIbFsgaFoXef9qILO4rzABpkA6JZ =0DHU -----END PGP SIGNATURE----- --oLBj+sq0vYjzfsbl--