Re: pam auth - add rhost item

Поиск
Список
Период
Сортировка
От Grzegorz Sampolski
Тема Re: pam auth - add rhost item
Дата
Msg-id 56E947AE.9080207@gmail.com
обсуждение исходный текст
Ответ на Re: pam auth - add rhost item  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: pam auth - add rhost item  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Список pgsql-hackers
Hi.
Can be, but as you mentioned OS resolver can be configured to not use
dns at all. So much more appropriate will be pam_try_hostname if we want
to be more accurately.
But for me pamusedns, pam_use_hostname or pam_try_hostname all are
correct as either need to use some try to resolve ip address
irrespectively OS resolver use dns or not - I mean getnameinfo() not
give you such information if OS resolver use dns or not.
No to drug the discussion I can change pamusedns to pam_use_hostname if
you prefer.

On 03/16/2016 03:00 AM, Peter Eisentraut wrote:
> On 3/10/16 8:11 AM, Grzegorz Sampolski wrote:
>> In attchment new patch with updated documentation and with small change
>> to coding style as you suggested.
> 
> This patch seems fine.  I'm not sure about the name "pamusedns" for the
> option, since we use the OS resolver, which might not actually use DNS.
>  Maybe something like "pam_use_hostname"?
> 



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

Предыдущее
От: Artur Zakirov
Дата:
Сообщение: Re: unexpected result from to_tsvector
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Parallel Aggregate