Re: Add another AUTHTYPE for UNIX-domain connections

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Add another AUTHTYPE for UNIX-domain connections
Дата
Msg-id 5686.1007342748@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Add another AUTHTYPE for UNIX-domain connections  (Anton Berezin <tobez@tobez.org>)
Ответы Re: Add another AUTHTYPE for UNIX-domain connections  (Anton Berezin <tobez@tobez.org>)
Re: Add another AUTHTYPE for UNIX-domain connections  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Anton Berezin
Дата:
Сообщение: Add another AUTHTYPE for UNIX-domain connections
Следующее
От: Anton Berezin
Дата:
Сообщение: Re: Add another AUTHTYPE for UNIX-domain connections