summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPeter Eisentraut2016-04-08 14:45:16 +0000
committerPeter Eisentraut2016-04-08 14:48:44 +0000
commit2f1d2b7a75fecad25295cb3f453503eb6a176d4f (patch)
tree8404aa676cf8aeb71bce8a76c8e554633686b856 /src/include
parent4e55b3f0335c2aa658cd9d1fda4dea2a1f9ab80d (diff)
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>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/libpq/hba.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h
index 68a953aa62..b306baf1a5 100644
--- a/src/include/libpq/hba.h
+++ b/src/include/libpq/hba.h
@@ -64,6 +64,7 @@ typedef struct HbaLine
char *usermap;
char *pamservice;
+ bool pam_use_hostname;
bool ldaptls;
char *ldapserver;
int ldapport;