Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 4901F64FC8B for ; Tue, 18 Nov 2008 09:15:54 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 65245-05 for ; Tue, 18 Nov 2008 09:15:49 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mail.postgresql.org (Postfix) with SMTP id BFDBA6500B0 for ; Tue, 18 Nov 2008 09:15:48 -0400 (AST) Received: (qmail invoked by alias); 18 Nov 2008 13:15:45 -0000 Received: from unknown (EHLO dhcp-eesp05-101-57.Finland.Sun.COM) [192.18.8.1] by mail.gmx.net (mp055) with SMTP; 18 Nov 2008 14:15:45 +0100 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX18T/iRBlKQTIiV8QHaKl+9YElRPUEQyJpaiuk9hDY mWA0xy1H+sgl4+ Message-ID: <4922BFFD.80108@gmx.net> Date: Tue, 18 Nov 2008 15:15:41 +0200 From: Peter Eisentraut User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Garick Hamlin CC: pgsql-hackers@postgresql.org Subject: Re: Solaris ident authentication using unix domain sockets References: <20080703165936.E80B312A5FFF@mx2.hub.org> <20080703173628.GA1697@isc.upenn.edu> In-Reply-To: <20080703173628.GA1697@isc.upenn.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.76 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: 200811/1215 X-Sequence-Number: 127927 Garick Hamlin wrote: > I have a patch that I have been using to support postgresql's > notion of ident authentication when using unix domain sockets on > Solaris. This patch basically just adds support for using > getupeercred() on Solaris so unix sockets and ident auth works just > like it does on Linux and elsewhere. I have committed a refined patch based on yours.