Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id E628F6330B7 for ; Fri, 9 Jul 2010 16:20:02 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 11538-03 for ; Fri, 9 Jul 2010 19:19:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by mail.postgresql.org (Postfix) with ESMTP id 10B36632E0D for ; Fri, 9 Jul 2010 16:19:54 -0300 (ADT) Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id 0446128428; Fri, 9 Jul 2010 15:19:53 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sel1; bh=+85mqHgRZSqPLAOytAzs2+tZeJI=; b=uAYPux 5O8PSnhXLFcpiYsm9dROWKV12ONA/J+FGnxcZvpL4m0ORKYTjonHc8xseHAsf1pY exCd4gvOuIXi5pigT4i3+Y2rRo0cWEuBrTPDjmSPBtAeRPgUqXtnlzmcw0M7qM4g PK373WS0kMLySKm/oPT+JMh318vh+79jq+Pqw= Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail63.csoft.net (Postfix) with ESMTP id 0209428426; Fri, 9 Jul 2010 15:19:53 -0400 (EDT) Received: by leary.csoft.net (Postfix, from userid 1112) id 8AFCEA200; Fri, 9 Jul 2010 15:19:44 -0400 (EDT) Date: Fri, 9 Jul 2010 15:19:44 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Bryan Montgomery cc: pgsql-jdbc@postgresql.org Subject: Re: Trying to accomplish SSO from Windows In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/34 X-Sequence-Number: 20699 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