aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);