Re: pam auth - add rhost item

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pam auth - add rhost item
Дата
Msg-id 56494C6C.9010108@gmx.net
обсуждение исходный текст
Ответ на Re: pam auth - add rhost item  (kolo hhmow <grzsmp@gmail.com>)
Ответы Re: pam auth - add rhost item
Список pgsql-hackers
On 10/13/15 4:12 PM, kolo hhmow wrote:
> Yes, sorry. I was in hurry when I posted this message.
> I dont understand whay in CheckPAMAuth function only PAM_USER item is
> adding to pam information before authenticate?
> Wheter it would be a problem to set additional pam information like
> PAM_RHOST which is very useful because we can use this item to restrict
> access to this ip address.

Your implementation uses NI_NUMERICHOST, but the documentation of
pam_set_item speaks of a "hostname".  Which is correct?




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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: [PATCH] SQL function to report log message
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_hba_lookup function to get all matching pg_hba.conf entries