Re: pam auth - add rhost item

From: Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>
To: Grzegorz Sampolski <grzsmp(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, David Fetter <david(at)fetter(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pam auth - add rhost item
Date: 2016-03-21 07:43:08
Message-ID: CAJrrPGdKmXy4zHFhtQG4rUU=AXWs44wbRt5JDDSywQjDd9maeg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 16, 2016 at 10:46 PM, Grzegorz Sampolski <grzsmp(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2016-03-21 08:48:15 Re: Patch: fix lock contention for HASHHDR.mutex
Previous Message Haribabu Kommi 2016-03-21 07:31:56 Re: pg_hba_lookup function to get all matching pg_hba.conf entries