Re: Add another AUTHTYPE for UNIX-domain connections

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Anton Berezin <tobez(at)tobez(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Add another AUTHTYPE for UNIX-domain connections
Date: 2001-12-03 01:25:48
Message-ID: 5686.1007342748@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Anton Berezin <tobez(at)tobez(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Anton Berezin 2001-12-03 01:29:22 Re: Add another AUTHTYPE for UNIX-domain connections
Previous Message Anton Berezin 2001-12-03 00:58:04 Add another AUTHTYPE for UNIX-domain connections