Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 3ABAE2E01CA for ; Thu, 6 Dec 2007 15:47:44 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 76687-10 for ; Thu, 6 Dec 2007 15:47:40 -0400 (AST) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by postgresql.org (Postfix) with ESMTP id 12C122E01AA for ; Thu, 6 Dec 2007 15:47:39 -0400 (AST) Received: by wa-out-1112.google.com with SMTP id m38so874692waf for ; Thu, 06 Dec 2007 11:47:37 -0800 (PST) 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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=li9+O1fPNjztF6+oKM2047wVGIHx+by/hJ1YFEn6HU4=; b=W9De1GLhmlFCNegv8LEi8+7XifrUWFNd1qYVTk52Z53+ck0vRpQIfqlL5gX3D1+7DL3eXNtjHIsiYQIVE1Z+366qz1E13/YgzDDIaiXHIMNk1ByFobXbHJNLWepp5VXpqTxdFffEoSfOWUvNoaRLCFBfSASRSf0THx3QuP1Q7HY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=vKlsbtGKT5d0+iSzDO9cMjn/sYbAJz8aSfpY+vMwFZcZjhR8JDjnrl46p1A7s8/sUrlaXzNAycN4aYrEm9Abas5E4vwQfwJcHfN2n1W6lqSf6Yh9UgyoXGtNUocMegCUrlOpLZOLkvcyz9PDckmP1BDsTGQflLSsean3x8Znbxk= Received: by 10.114.38.2 with SMTP id l2mr2348808wal.1196970457023; Thu, 06 Dec 2007 11:47:37 -0800 (PST) Received: by 10.114.199.9 with HTTP; Thu, 6 Dec 2007 11:47:36 -0800 (PST) Message-ID: <4544e0330712061147g1f7be06dn9e86a2c80f68ed35@mail.gmail.com> Date: Thu, 6 Dec 2007 13:47:36 -0600 From: "Peter Koczan" To: "Henry B. Hotz" Subject: Re: JDBC and GSSAPI/Krb5 Cc: "Kris Jurka" , pgsql-jdbc@postgresql.org In-Reply-To: <3154D7D3-8F41-4FFF-BEF6-52C9E8D43C05@jpl.nasa.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4544e0330712051349p75cc6c25v92cf067fea87fff@mail.gmail.com> <0592EF1A-3479-4134-9C8C-7CEC0E9CC4BF@jpl.nasa.gov> <4544e0330712060813g7dc4df9w15d5cca6c4258ef5@mail.gmail.com> <3154D7D3-8F41-4FFF-BEF6-52C9E8D43C05@jpl.nasa.gov> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/53 X-Sequence-Number: 17908 On Dec 6, 2007 1:10 PM, Henry B. Hotz wrote: > Thank you. I'm looking at it. > > I think the changes *should* be localized to v3/ > ConnectionFactoryImpl.java. I need to see how Magnus changed the > wire protocol (he did it differently from what I did), and I need to > try a sample program first so I can debug wire/API issues > independently from PG issues. > > I will not even attempt to address the SSPI auth mechanism since I > don't understand fully why it exists. SSPI is supposed to just be an > alternate C binding for the GSSAPI wire protocol, but there are other > issues that confound that statement. I believe that Java should > stick to the standard, at least initially. http://people.planetpostgresql.org/mha/index.php?/archives/155-Integrated-Security-in-PostgreSQL-8.3.html According to this, SSPI is a Windows-only thing (for both clients and servers). Apparently each can authenticate against a "gss" entry in pg_hba.conf. I don't know what implications that has for support in the JDBC driver. I'll let you figure that out :-). Peter