aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-02 16:44:21 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-02 16:44:21 +0200
commita3d07115df2578dc04a78d7092c8cfc2be1bcd95 (patch)
treea7b15c15065c8769e9ac95be8015bb83d7c87cce
parent2904e25cc3e8dbe0af0c15e3151f70c6f04d45e0 (diff)
downloadlibpam-freerdp2-a3d07115df2578dc04a78d7092c8cfc2be1bcd95.tar.gz
libpam-freerdp2-a3d07115df2578dc04a78d7092c8cfc2be1bcd95.tar.bz2
libpam-freerdp2-a3d07115df2578dc04a78d7092c8cfc2be1bcd95.zip
Fix for PAM_TYPE_* name changes.
-rw-r--r--src/pam-freerdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c
index 5e1d7ff..9457704 100644
--- a/src/pam-freerdp.c
+++ b/src/pam-freerdp.c
@@ -305,7 +305,7 @@ pam_sm_open_session (pam_handle_t *pamh, int flags, int argc, const char ** argv
GET_ITEM(username, PAM_USER);
GET_ITEM(ruser, PAM_RUSER);
GET_ITEM(rhost, PAM_TYPE_RDPSERVER);
- GET_ITEM(rdomain, PAM_TYPE_DOMAIN);
+ GET_ITEM(rdomain, PAM_TYPE_RDPDOMAIN);
GET_ITEM(password, PAM_AUTHTOK);
struct passwd * pwdent = getpwnam(username);