Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets
Дата
Msg-id 16736.997712054@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Patch: use SCM_CREDS authentication over PF_LOCAL sockets  (wollman@LCS.MIT.EDU)
Ответы Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets  (Garrett Wollman <wollman@khavrinen.lcs.mit.edu>)
Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
wollman@LCS.MIT.EDU writes:
> The following set of patches (relative to 7.1.2 release) implement
> SCM_CREDS authentication for local connections.

Unfortunately, there's little chance that this will apply cleanly to
current sources, since we've restructured the postmaster's handling of
the authorization process.

A more significant objection is that you've extended the wire protocol
by adding a new authorization protocol, but have fixed only one client
library and not touched the protocol documentation at all.  There's a
lot more work needed to make this a complete patch.

BTW, current sources already contain support for using
getsockopt(SO_PEERCRED) where available --- AFAIK that's only Linux,
but perhaps that's all you need.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: wollman@LCS.MIT.EDU
Дата:
Сообщение: Patch: use SCM_CREDS authentication over PF_LOCAL sockets
Следующее
От: Barry Lind
Дата:
Сообщение: Re: JDBC Array Support, Take 2