From: | Grzegorz Sampolski <grzsmp(at)gmail(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pam auth - add rhost item |
Date: | 2015-11-25 12:45:46 |
Message-ID: | 5655AD7A.8080906@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Well, this is not matter since pam_set_item expect this argument as a
string.
Besides there is not always possible to get map from ip address to hostname.
So hostname is just a synonim for whatever information you cat get about
remote machine.
ps. sorry for delay answer.
On 11/16/2015 04:24 AM, Peter Eisentraut wrote:
> 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?
>
From | Date | Subject | |
---|---|---|---|
Next Message | Teodor Sigaev | 2015-11-25 13:06:11 | Re: pageinspect patch, for showing tuple data |
Previous Message | Greg Stark | 2015-11-25 12:24:42 | Re: New email address |