Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 5D5E62E2D6D for ; Thu, 6 Dec 2007 15:50:23 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 89054-09 for ; Thu, 6 Dec 2007 15:50:15 -0400 (AST) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by postgresql.org (Postfix) with ESMTP id 5CE4B2E2D72 for ; Thu, 6 Dec 2007 15:50:18 -0400 (AST) Received: by wa-out-1112.google.com with SMTP id m38so876545waf for ; Thu, 06 Dec 2007 11:50:16 -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=RKNE3yGoyhr8FO6VbgcYCKVNiHqLHqcPnSsSqfjduIU=; b=vgYLgw5OohIrpc2dzS3oMgNzPA97prVR1FZ4ZUi5w3kub5nrEH56VIu2ab3HNAGPmuD8x+T2PmmAbPQQKWQikNd+8TjKJ/7JhbxG3OzJowXHDYiPGBdES6gq0NW6/ZL3xPHvKZySei2cp7fenRcdcMk7Yr7/fU6J7fK0KGh25mc= 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=rOb2TYujolLmzUQa+iOf/XTuStxpE13O547BE7/9K+dAcDssz2zkP4OHTwQPBUYZoUzJ2irCtCjR/2/1iSPt1zaLScM1Qn6QjMEbLnh2PdMEfI6wsg0/2V7xEPVqNxTYSCl+Jc18tMn15rEMXM991tnPWtnFM31syTEj0vRsXNw= Received: by 10.114.157.1 with SMTP id f1mr1304701wae.1196970606409; Thu, 06 Dec 2007 11:50:06 -0800 (PST) Received: by 10.114.199.9 with HTTP; Thu, 6 Dec 2007 11:50:06 -0800 (PST) Message-ID: <4544e0330712061150q1f3bbeefy5130d068429403fc@mail.gmail.com> Date: Thu, 6 Dec 2007 13:50:06 -0600 From: "Peter Koczan" To: "Henry B. Hotz" Subject: Re: JDBC and GSSAPI/Krb5 Cc: "Kris Jurka" , pgsql-jdbc@postgresql.org In-Reply-To: <4544e0330712061147g1f7be06dn9e86a2c80f68ed35@mail.gmail.com> 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> <4544e0330712061147g1f7be06dn9e86a2c80f68ed35@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/54 X-Sequence-Number: 17909 On Dec 6, 2007 1:47 PM, Peter Koczan wrote: > 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 :-). Oh, and by "each" I mean both SSPI and GSSAPI. B'oh. Peter