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>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/2f1d2b7a75fecad25295cb3f453503eb6a176d4f
Modified Files
--------------
doc/src/sgml/client-auth.sgml | 23 +++++++++++++++++++----
src/backend/libpq/auth.c | 23 +++++++++++++++++++++++
src/backend/libpq/hba.c | 9 +++++++++
src/include/libpq/hba.h | 1 +
4 files changed, 52 insertions(+), 4 deletions(-)