Re: Add another AUTHTYPE for UNIX-domain connections - Mailing list pgsql-patches

From Tom Lane
Subject Re: Add another AUTHTYPE for UNIX-domain connections
Date
Msg-id 5686.1007342748@sss.pgh.pa.us
Whole thread Raw
In response to Add another AUTHTYPE for UNIX-domain connections  (Anton Berezin <tobez@tobez.org>)
Responses Re: Add another AUTHTYPE for UNIX-domain connections
Re: Add another AUTHTYPE for UNIX-domain connections
List pgsql-patches
Anton Berezin <tobez@tobez.org> writes:
> On some platforms, it is possible to reliably determine the effective
> credentials of a UNIX-domain peer.

Umm ... I think this is in 7.2 already, although not using getpeereid.

Anyone have an idea whether there are platforms that have getpeereid but
not SO_PEERCRED or SCM_CREDS?  If so it might be worth adding getpeereid
as an alternate implementation in ident_unix().

            regards, tom lane

pgsql-patches by date:

Previous
From: Anton Berezin
Date:
Subject: Add another AUTHTYPE for UNIX-domain connections
Next
From: Anton Berezin
Date:
Subject: Re: Add another AUTHTYPE for UNIX-domain connections