Re: Trying to accomplish SSO from Windows

From: Kris Jurka <books(at)ejurka(dot)com>
To: Bryan Montgomery <monty(at)english(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Trying to accomplish SSO from Windows
Date: 2010-07-09 19:19:44
Message-ID: alpine.BSO.2.00.1007091518100.25837@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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/KerberosReq.html

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bryan Montgomery 2010-07-09 20:28:04 Re: Trying to accomplish SSO from Windows
Previous Message Bryan Montgomery 2010-07-08 20:26:21 Trying to accomplish SSO from Windows