Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group