diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pam-freerdp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c index fde3202..ebc98af 100644 --- a/src/pam-freerdp.c +++ b/src/pam-freerdp.c @@ -335,6 +335,10 @@ session_socket_handler (struct passwd * pwdent, int readypipe, const char * ruse return EXIT_FAILURE; } + if (rdomain[0] == '\0') { + rdomain = "."; + } + /* Build this up as a buffer so we can just write it and see that very, very clearly */ buffer_len += strlen(ruser) + 1; /* Add one for the space */ |