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.
I hope I'm more specific now and you will understand me.
On Mon, Oct 12, 2015 at 12:01 PM, kolo hhmow <grzsmp@gmail.com> wrote: > Wheter it would be a problem to set additional item (rhost) before > pam_authentication function in backend/libpq/auth.c? > It is very useful because you can restrict access to given ip address like > in mysql. > And this actually utilized in pam-pgsql, wich cannot be used because rhost > item is empty.
I can't understand what you are suggesting here. Perhaps you could be more specific, or propose a patch. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company