pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Bryan Montgomery <monty@english.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Trying to accomplish SSO from Windows
Date: Fri, 9 Jul 2010 15:19:44 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1007091518100.25837@leary.csoft.net> (raw)
In-Reply-To: <AANLkTinWun8RQ1Vw0JEsNXzx_HhAqGYAQj6LGTutvEG6@mail.gmail.com>
References: <AANLkTinWun8RQ1Vw0JEsNXzx_HhAqGYAQj6LGTutvEG6@mail.gmail.com>



On Thu, 8 Jul 2010, Bryan Montgomery wrote:

> Hello,
> I've been looking for some examples on how to connect to a linux postgresql
> database from a java client running on Windows. The Jaas seems to be getting
> the credentials from my windows logon, but then the jdbc driver is blowing
> up with some sun classes looking for a non-existent file.
> 
> Caused by: GSSException: Invalid name provided (Mechanism level: Could not
> load configuration file C:\WINDOWS\krb5.ini (The system cannot find the file
> specified))
>

It appears you need to create that file or manually specify the realm and 
KDC as system properties.

http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/guide/security/jgss/tutorials/Kerbero...

Kris Jurka




view thread (5+ messages)  latest in thread

Message-ID: <alpine.BSO.2.00.1007091518100.25837@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1007091518100.25837@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1007091518100.25837@leary.csoft.net

 · 

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: books@ejurka.com, monty@english.net
  Subject: Re: Trying to accomplish SSO from Windows
  In-Reply-To: <alpine.BSO.2.00.1007091518100.25837@leary.csoft.net>
  References: <AANLkTinWun8RQ1Vw0JEsNXzx_HhAqGYAQj6LGTutvEG6@mail.gmail.com> <alpine.BSO.2.00.1007091518100.25837@leary.csoft.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