Re: pam auth - add rhost item
От | Grzegorz Sampolski |
---|---|
Тема | Re: pam auth - add rhost item |
Дата | |
Msg-id | 5655AD7A.8080906@gmail.com обсуждение исходный текст |
Ответ на | Re: pam auth - add rhost item (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: pam auth - add rhost item
|
Список | pgsql-hackers |
Well, this is not matter since pam_set_item expect this argument as a string.<br /> Besides there is not always possibleto get map from ip address to hostname.<br /> So hostname is just a synonim for whatever information you cat getabout remote machine.<br /><br /> ps. sorry for delay answer.<br /><br /><div class="moz-cite-prefix">On 11/16/2015 04:24AM, Peter Eisentraut wrote:<br /></div><blockquote cite="mid:56494C6C.9010108@gmx.net" type="cite"><pre wrap="">On 10/13/154:12 PM, kolo hhmow wrote: </pre><blockquote type="cite"><pre wrap="">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. </pre></blockquote><pre wrap=""> Your implementation uses NI_NUMERICHOST, but the documentation of pam_set_item speaks of a "hostname". Which is correct? </pre></blockquote><br />
В списке pgsql-hackers по дате отправления: