Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5B1C164FCFD for ; Fri, 25 Jul 2008 14:40:48 -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 37199-03 for ; Fri, 25 Jul 2008 14:40:44 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.233]) by postgresql.org (Postfix) with ESMTP id 5CFD664FCF3 for ; Fri, 25 Jul 2008 14:40:45 -0300 (ADT) Received: by wx-out-0506.google.com with SMTP id i31so1070736wxd.28 for ; Fri, 25 Jul 2008 10:40:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=VliWQwmZy6osASMoDACCmi20YBuO8HccfglMGW8+e7I=; b=Lm7m8dENG8za+yp/41CQajOkXT+/p+7oiklZuIFR0mNbf6RP/gZWon1YesCSqIa7r7 yvr90uKs+iImnhUhwjn+s6jgJUkxigVl1gTcgxyuD94HVkO6P635SCagLyCcCOPfwAEf N6Cg3201TsCP9tKzfjhHU/buTjXoifjPdHI4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=a40DNyiQ4vb8nRx5Q9MJYN4eeW2EslB9TWgxN3VBsaWpSgqSOLqUZAOYm3tfYxyNz1 95gYzE66lzAdhSqNkwkbdceSE1IwQ+gEeUd83Hoh3iEvErO3nojCWPsRW795X6qd7ZcD tAOXDcM0snagr9G4BNNXQkBL2xIlDGyuHyQPU= Received: by 10.100.165.13 with SMTP id n13mr3301089ane.134.1217007643861; Fri, 25 Jul 2008 10:40:43 -0700 (PDT) Received: by 10.150.53.20 with HTTP; Fri, 25 Jul 2008 10:40:43 -0700 (PDT) Message-ID: <4544e0330807251040uea445cao29adebc9afa71127@mail.gmail.com> Date: Fri, 25 Jul 2008 12:40:43 -0500 From: "Peter Koczan" To: "Peter Koczan" , pgsql-jdbc@postgresql.org Subject: Re: GSSAPI/KRB5 and JDBC (again) In-Reply-To: <20080725005012.GB16005@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4544e0330807241604ye974d07x34408ac3cc11cf3e@mail.gmail.com> <20080725005012.GB16005@tamriel.snowman.net> 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/53 X-Sequence-Number: 18838 On Thu, Jul 24, 2008 at 7:50 PM, Stephen Frost 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