Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 01896632B30 for ; Mon, 28 Jun 2010 21:31:24 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 79116-05 for ; Tue, 29 Jun 2010 00:31:14 +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 8A18D63253E for ; Mon, 28 Jun 2010 21:31:16 -0300 (ADT) Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id 4C81028436; Mon, 28 Jun 2010 20:31:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sel1; bh=jYnQpa5HIezQ I1vaY0pO8eygTDk=; b=Zd8Vq3KAi8wlQB92dj2fjyGYfkDMyBa9TFUsoPw90cIa D9FiWefcELpJI0l/IUeCucJVleRJuwIhvHcN+1Hz/V6Ftedugp4WVkBsGY66ocG8 2J8fbxwbq0+dHgnwOZ9yimwmYFv7NykH4VcRJA31JXGu0wqXLrty6EXG6RC9G80= Received: from [192.168.1.204] (adsl-71-128-101-241.dsl.irvnca.pacbell.net [71.128.101.241]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail63.csoft.net (Postfix) with ESMTPSA id E569228413; Mon, 28 Jun 2010 20:31:13 -0400 (EDT) Message-ID: <4C293ED9.5050804@ejurka.com> Date: Mon, 28 Jun 2010 17:31:21 -0700 From: Kris Jurka User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Idan Miller CC: pgsql-jdbc@postgresql.org Subject: Re: Connecting to postgresql using SSPI via JDBC References: <4C28F2D0.6000607@ejurka.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201006/82 X-Sequence-Number: 20652 SSPI is supported only on windows clients. If you try authenticating from a Linux client against a SSPI requiring server you will get an error similar to the JDBC driver exception indicating that it is not supported. Supporting SSPI only on windows for Java would require linking with native code which we don't want to do. Unless you need NTLM support, I don't see why you wouldn't use GSSAPI which is supported on all platforms including the JDBC driver. Kris Jurka On 6/28/2010 4:45 PM, Idan Miller wrote: > postgres supports native sspi support (and not gssapi) in the server > side, but that support is missing from the client. > So I would expect an implementation on the client side (right now a not > supported authentication type exception is thrown when attempting to > connect with sspi).. > > Idan > > On Mon, Jun 28, 2010 at 10:06 PM, Kris Jurka > wrote: > > Implement what? The JDBC driver does support GSSAPI authentication > although it is a bit cumbersome to setup (and the only documentation > is in the list archives). > > Kris Jurka > > > On 6/27/2010 12:52 AM, Idan Miller wrote: > > Is someone willing to implement that? > It's a really important feature for us since the JDBC-ODBC bridge > doesn't work well with bytea columns (it truncates them even > though we > declared maxlongvarchar and maxvarchar to be very big). > > Thanks, > Idan. > > On Thu, Jun 17, 2010 at 9:55 PM, Kris Jurka > >> wrote: > > > > On Thu, 17 Jun 2010, Idan Miller wrote: > > As far as I know, I an configure gssapi on windows as > well, right? > So techincaly, if I manage to do so, I will get the same > "sspi like" > authentication, right? > > > Yes. > > Kris Jurka > > > >