pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Koczan <pjkoczan@gmail.com>
To: Peter Koczan <pjkoczan@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: GSSAPI/KRB5 and JDBC (again)
Date: Fri, 25 Jul 2008 12:40:43 -0500
Message-ID: <4544e0330807251040uea445cao29adebc9afa71127@mail.gmail.com> (raw)
In-Reply-To: <20080725005012.GB16005@tamriel.snowman.net>
References: <4544e0330807241604ye974d07x34408ac3cc11cf3e@mail.gmail.com>
	<20080725005012.GB16005@tamriel.snowman.net>

On Thu, Jul 24, 2008 at 7:50 PM, Stephen Frost <sfrost@snowman.net> wrote:
> So you know, that generally means "wrong password".  Have you tried
> kinit'ing first?  Is it prompting you for a password?

I tried kinit, and it didn't work, but putting my real Kerberos
password in the password field worked. It looks like it's trying to
get a new set of credentials/tickets when authenticating, instead of
using stashed or readily available credentials.

This is better than nothing, but it would be very nice to not force
users to specify a password when connecting. It kinda defeats the
purpose of a single-sign-on authentication system, and I'd really
prefer not having users put their password in plaintext files, as it
seems rather insecure. At the very least, the password should be able
to be obscured or encrypted somehow in the connection, but even this
is less than ideal.

Is there any way to tell JDBC to use available KRB5/GSSAPI credentials?

> 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. :/

Me too. Now I just have to get SSL working, too.

Peter



view thread (7+ messages)  latest in thread

Message-ID: <4544e0330807251040uea445cao29adebc9afa71127@mail.gmail.com>
Permalink:  ../4544e0330807251040uea445cao29adebc9afa71127@mail.gmail.com/
Also on:    postgresql.org/message-id/4544e0330807251040uea445cao29adebc9afa71127@mail.gmail.com

 · 

reply

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-jdbc@postgresql.org
  Cc: pjkoczan@gmail.com
  Subject: Re: GSSAPI/KRB5 and JDBC (again)
  In-Reply-To: <4544e0330807251040uea445cao29adebc9afa71127@mail.gmail.com>
  References: <4544e0330807241604ye974d07x34408ac3cc11cf3e@mail.gmail.com> <20080725005012.GB16005@tamriel.snowman.net> <4544e0330807251040uea445cao29adebc9afa71127@mail.gmail.com>

* 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