Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 0A1749FB807 for ; Mon, 9 Jul 2007 22:32:48 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 55850-10 for ; Mon, 9 Jul 2007 22:32:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id CE3F69FB820 for ; Mon, 9 Jul 2007 22:32:35 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l6A1WXCf003182; Mon, 9 Jul 2007 21:32:33 -0400 (EDT) To: Peter Koczan cc: pgsql-admin@postgresql.org Subject: Re: local kerberos authentication? In-reply-to: <4692DC2C.3080903@gmail.com> References: <4692DC2C.3080903@gmail.com> Comments: In-reply-to Peter Koczan message dated "Mon, 09 Jul 2007 20:09:00 -0500" Date: Mon, 09 Jul 2007 21:32:33 -0400 Message-ID: <3181.1184031153@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/77 X-Sequence-Number: 26058 Peter Koczan writes: > I would like to, but can't seem to get Kerberos working for local > connections. krb5_sendauth and krb5_recvauth only work with TCP or UDP connections, according to what I can find on the net. If you think your local implementation might not have that restriction, try diking out these lines in src/backend/libpq/hba.c: /* Disallow auth methods that always need TCP/IP sockets to work */ if (port->auth_method == uaKrb5) goto hba_syntax; and see what happens ... regards, tom lane