Set PAM_RHOST item for PAM authentication
Peter Eisentraut <peter_e@gmx.net>
Set PAM_RHOST item for PAM authentication The PAM_RHOST item is set to the remote IP address or host name and can be used by PAM modules. A pg_hba.conf option is provided to choose between IP address and resolved host name. From: Grzegorz Sampolski <grzsmp@gmail.com> Reviewed-by: Haribabu Kommi <kommi.haribabu@gmail.com>
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/client-auth.sgml | modified | +19 −4 |
| src/backend/libpq/auth.c | modified | +23 −0 |
| src/backend/libpq/hba.c | modified | +9 −0 |
| src/include/libpq/hba.h | modified | +1 −0 |