Set PAM_RHOST item for PAM authentication

Peter Eisentraut <peter_e@gmx.net>

Commit: 2f1d2b7a75fecad25295cb3f453503eb6a176d4f
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2016-04-08T14:48:44Z
Releases: 9.6.0
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

PathChange+/−
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

Documentation touched