Re: Patch to include PAM support...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Patch to include PAM support...
Дата
Msg-id 26527.992446273@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Patch to include PAM support...  ("Dominic J. Eidson" <sauron@the-infinite.org>)
Ответы Re: Patch to include PAM support...  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Patch to include PAM support...  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Patch to include PAM support...  ("Dominic J. Eidson" <sauron@the-infinite.org>)
Список pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:
>> Basically, we have some people who want it.  Now we need to hear from
>> people who don't want it.   I have a "no" from Tom and a "yes" from
>> "Peter E" (and the author).

> Not in the current form.

I think Peter's main objection was that it'd always prompt for a
password whether needed or not.

Could we change the PAM code so that it tries to run the PAM auth cycle
immediately on receipt of a connection request?  If it gets a callback
for a password, it abandons the PAM conversation, sends off a password
request packet, and then tries again when the password comes back.

Of course, this would be hugely simpler if the work were being done in
a dedicated forked child of the postmaster ;-) ;-) ... just send the
request packet when PAM asks for a password, and sleep till it comes
back.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: reset all update
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Patch to include PAM support...