Allow IDENT authentication on local connections (Linux only)

Поиск
Список
Период
Сортировка
От Helge Bahmann
Тема Allow IDENT authentication on local connections (Linux only)
Дата
Msg-id Pine.LNX.4.21.0107311144340.17470-200000@lothlorien.stunet2.tu-freiberg.de
обсуждение исходный текст
Ответы Re: Allow IDENT authentication on local connections (Linux only)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Hello,

the attached patch against 7.1.2 allows to use identd-like authentication
on unix domain sockets.

This is done by getting the uid of the connecting process via
getsockopt(... SO_PEERCRED ...) which to my knowledge is Linux-specific,
but I may be wrong.

The patch does not contain a configure macro to enable the feature, add
    #define HAVE_SO_PEERCRED 1
to include/config.h before building to activate it.

I have been using this feature since 7.0.1 and would be grateful if
something like this could be integrated.

Regards,
Helge

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: OpenUnix 8 Patchj
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Allow IDENT authentication on local connections (Linux only)