Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2120B64FCED for ; Tue, 29 Jul 2008 01:35:56 -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 80243-01-6 for ; Tue, 29 Jul 2008 01:35:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 2D9BD64FD0D for ; Tue, 29 Jul 2008 01:35:29 -0300 (ADT) Received: (qmail 4738 invoked by uid 1112); 29 Jul 2008 04:35:28 -0000 Date: Tue, 29 Jul 2008 00:35:27 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Peter Koczan cc: pgsql-jdbc@postgresql.org, sfrost@snowman.net Subject: Re: GSSAPI/KRB5 and JDBC (again) In-Reply-To: <4544e0330807251040uea445cao29adebc9afa71127@mail.gmail.com> Message-ID: References: <4544e0330807241604ye974d07x34408ac3cc11cf3e@mail.gmail.com> <20080725005012.GB16005@tamriel.snowman.net> <4544e0330807251040uea445cao29adebc9afa71127@mail.gmail.com> 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=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200807/60 X-Sequence-Number: 18845 On Fri, 25 Jul 2008, Peter Koczan wrote: > 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. It tries to use the provided password only if it doesn't find an existing set of credentials. It definitely works for me without a password after kinit(ing). Perhaps your ticket cache or keytab is in a non-standard place? This is the first and only time I've setup a kerberos server, so I may have done something unusual on my end too, but I basically just did a stock Debian install. Perhaps you need some additional options from here in your login.conf to let it know things particular to your setup? http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/spec/com/sun/security/auth/module/Krb5LoginModule.html Kris Jurka