Re: pam auth - add rhost item - Mailing list pgsql-hackers

From Haribabu Kommi
Subject Re: pam auth - add rhost item
Date
Msg-id CAJrrPGdKmXy4zHFhtQG4rUU=AXWs44wbRt5JDDSywQjDd9maeg@mail.gmail.com
Whole thread Raw
In response to Re: pam auth - add rhost item  (Grzegorz Sampolski <grzsmp@gmail.com>)
Responses Re: pam auth - add rhost item
List pgsql-hackers
On Wed, Mar 16, 2016 at 10:46 PM, Grzegorz Sampolski <grzsmp@gmail.com> wrote:
> 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.

+1 for pam_use_hostname.


Regards,
Hari Babu
Fujitsu Australia



pgsql-hackers by date:

Previous
From: Haribabu Kommi
Date:
Subject: Re: pg_hba_lookup function to get all matching pg_hba.conf entries
Next
From: Aleksander Alekseev
Date:
Subject: Re: Patch: fix lock contention for HASHHDR.mutex