diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-05-06 01:39:57 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-05-06 01:39:57 +0200 |
commit | 3cd3dd02564d047c3acc9647a47162bdaa8f85ba (patch) | |
tree | c05faae4e905ffc64ad6012d7bfc1ce56aa74968 /src | |
parent | 879b9e62cfc2c27e8567930e881affefbfcef1d6 (diff) | |
download | arctica-greeter-3cd3dd02564d047c3acc9647a47162bdaa8f85ba.tar.gz arctica-greeter-3cd3dd02564d047c3acc9647a47162bdaa8f85ba.tar.bz2 arctica-greeter-3cd3dd02564d047c3acc9647a47162bdaa8f85ba.zip |
src/user-list.vala: Add debugging to remote_login PAM prompt responding.
Diffstat (limited to 'src')
-rw-r--r-- | src/user-list.vala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/user-list.vala b/src/user-list.vala index a87612e..7d20433 100644 --- a/src/user-list.vala +++ b/src/user-list.vala @@ -1099,29 +1099,34 @@ public class UserList : GreeterList { Gtk.Entry field = current_remote_fields.get ("username") as Gtk.Entry; var answer = field != null ? field.text : ""; + debug ("remote_login prompt parsing: username -> %s", answer); ArcticaGreeter.singleton.respond (answer); } else if ((text == pam_x2go.PROMPT_PASSWORD) || (text == pam_freerdp2.PROMPT_PASSWORD)) { Gtk.Entry field = current_remote_fields.get ("password") as Gtk.Entry; var answer = field != null ? field.text : ""; + debug ("remote_login prompt parsing: password -> <hidden>"); ArcticaGreeter.singleton.respond (answer); } else if ((text == pam_x2go.PROMPT_HOST) || (text == pam_freerdp2.PROMPT_HOST)) { var answer = url_from_remote_loding_server_list_name (selected_entry.id); + debug ("remote_login prompt parsing: host -> %s", answer); ArcticaGreeter.singleton.respond (answer); } else if (text == pam_freerdp2.PROMPT_DOMAIN) { Gtk.Entry field = current_remote_fields.get ("domain") as Gtk.Entry; var answer = field != null ? field.text : ""; + debug ("remote_login prompt parsing: domain -> %s", answer); ArcticaGreeter.singleton.respond (answer); } else if (text == pam_x2go.PROMPT_COMMAND) { Gtk.Entry field = current_remote_fields.get ("command") as Gtk.Entry; var answer = field != null ? field.text : ""; + debug ("remote_login prompt parsing: command -> %s", answer); ArcticaGreeter.singleton.respond (answer); } } |