Amarjeet Singh created GUACAMOLE-477:
----------------------------------------
Summary: Error on Web Interface if username or password is
incorrect. Doesn't show Window's Login screen with invalid credentials.
Key: GUACAMOLE-477
URL: https://issues.apache.org/jira/browse/GUACAMOLE-477
Project: Guacamole
Issue Type: Bug
Components: guacamole
Affects Versions: 0.9.13-incubating
Environment: Windows Server 2012 R2, Windows 10, Windows 8 , Windows 7
[ VM machines on localhost ]
FreeRDP Version : 1.0 , FreeRDP Version : 1.1
Guacamole-Client Version : 0.9.13
Guacamole-Server Version : 0.9.13
Reporter: Amarjeet Singh
Priority: Critical
Attachments: login_screen_error.PNG
Getting Connection error on Web Interface which is as follows :-
if Username is incorrect or password is incorrect
{color:red}The remote desktop server is currently unreachable. If the problem
persists, please notify your system administrator, or check your system logs.
Reconnecting in 4 seconds...{color}
Screenshot :
Refer to the attachment *login_screen_error.PNG*
Configuration in user-mapping.xml File :-
<authorize username="jasbir.singh" password="xyz@123">
<connection name="Windows Server 2012 R2 Jasbir Singh">
<protocol>rdp</protocol>
<param name="hostname">172.17.1.75</param>
<param name="port">3389</param>
<param name="resize-method">display-update</param>
<param name="enable-printing">true</param>
<param name="create-drive-path">true</param>
<param name="enable-drive">true</param>
<param name="drive-path">/tmp/${GUAC_USERNAME}</param>
<param name="ignore-cert">true</param>
<param name="security">any</param>
<param name="domain">ucalo.com</param>
<param name="static-channels">hyprint</param>
<param name="username">Jasbir Singh</param>
<param name="password">Sunny@28*Manny</param>
</connection>
</authorize>
Machine is not in the domain of ucalo.com instead it should be localhost .
but further debugging I got to know that if domain name is incorrect {
ucalo.com or ucal.com or whatever } it will login into the Machine only if
username and password is correct and domain is localhost.
Unit Case 1 : If username is incorrect it will show the above error.
Unit Case 2 : If username is correct and password is incorrect , it will show
the above error.
Logs of GUACD in FreeRDP Version 1.1 :-
Jan 6 23:34:06 localhost guacd[9421]: Creating new client for protocol "rdp"
Jan 6 23:34:06 localhost guacd[9421]: Connection ID is
"$d770a106-0701-42ce-a8f2-743cfe401a62"
Jan 6 23:34:06 localhost guacd[9487]: Security mode: ANY
Jan 6 23:34:06 localhost guacd[9487]: Resize method: display-update
Jan 6 23:34:06 localhost guacd[9487]: User
"@e4185959-ab26-4c61-ad1f-b3b566a7757d" joined connection
"$d770a106-0701-42ce-a8f2-743cfe401a62" (1 users now present)
Jan 6 23:34:06 localhost guacd[9487]: Loading keymap "base"
Jan 6 23:34:06 localhost guacd[9487]: Loading keymap "en-us-qwerty"
Jan 6 23:34:06 localhost guacd[9487]: Created static channel "hyprint"...
Jan 6 23:34:07 localhost guacd[9487]: Error connecting to RDP server
Jan 6 23:34:07 localhost guacd[9487]: User
"@e4185959-ab26-4c61-ad1f-b3b566a7757d" disconnected (0 users remain)
Jan 6 23:34:07 localhost guacd[9487]: Last user of connection
"$d770a106-0701-42ce-a8f2-743cfe401a62" disconnected
Jan 6 23:34:07 localhost guacd[9421]: Connection
"$d770a106-0701-42ce-a8f2-743cfe401a62" removed.
Jan 6 23:34:23 localhost guacd[9421]: Creating new client for protocol "rdp"
Jan 6 23:34:23 localhost guacd[9421]: Connection ID is
"$17c5ed93-11a7-4563-80c4-55371a2d4e45"
Jan 6 23:34:23 localhost guacd[9496]: Security mode: ANY
Jan 6 23:34:23 localhost guacd[9496]: Resize method: display-update
Jan 6 23:34:23 localhost guacd[9496]: User
"@321fc488-279e-48d5-b777-5aac90815809" joined connection
"$17c5ed93-11a7-4563-80c4-55371a2d4e45" (1 users now present)
Jan 6 23:34:23 localhost guacd[9496]: Loading keymap "base"
Jan 6 23:34:23 localhost guacd[9496]: Loading keymap "en-us-qwerty"
Jan 6 23:34:23 localhost guacd[9496]: Created static channel "hyprint"...
Jan 6 23:34:24 localhost guacd[9496]: Error connecting to RDP server
Jan 6 23:34:24 localhost guacd[9496]: User
"@321fc488-279e-48d5-b777-5aac90815809" disconnected (0 users remain)
Jan 6 23:34:24 localhost guacd[9496]: Last user of connection
"$17c5ed93-11a7-4563-80c4-55371a2d4e45" disconnected
Jan 6 23:34:24 localhost guacd[9421]: Connection
"$17c5ed93-11a7-4563-80c4-55371a2d4e45" removed.
Logs of GUACD in FreeRDP Version 1.0 :-
in FreeRDP 1.0 version version logs are as follows :-
Jan 6 23:40:23 hysecuresslvpn guacd[20399]: Creating new client for protocol
"rdp"
Jan 6 23:40:23 hysecuresslvpn guacd: guacd[20399]: INFO: Creating new
client for protocol "rdp"
Jan 6 23:40:23 hysecuresslvpn guacd: guacd[20399]: INFO: Connection ID
is "$a2837633-62fc-48f2-acc7-9b987b67c8f7"
Jan 6 23:40:23 hysecuresslvpn guacd[20399]: Connection ID is
"$a2837633-62fc-48f2-acc7-9b987b67c8f7"
Jan 6 23:40:23 hysecuresslvpn guacd[30990]: Security mode: ANY
Jan 6 23:40:23 hysecuresslvpn guacd: guacd[30990]: INFO: Security mode:
ANY
Jan 6 23:40:23 hysecuresslvpn guacd: guacd[30990]: INFO: Resize method:
display-update
Jan 6 23:40:23 hysecuresslvpn guacd: guacd[30990]: INFO: User
"@d9c3e5a9-df38-4eef-bf6a-7cc1d60586aa" joined connection
"$a2837633-62fc-48f2-acc7-9b987b67c8f7" (1 users now present)
Jan 6 23:40:23 hysecuresslvpn guacd[30990]: Resize method: display-update
Jan 6 23:40:23 hysecuresslvpn guacd: guacd[30990]: INFO: Loading keymap
"base"
Jan 6 23:40:23 hysecuresslvpn guacd: guacd[30990]: INFO: Loading keymap
"en-us-qwerty"
Jan 6 23:40:23 hysecuresslvpn guacd[30990]: User
"@d9c3e5a9-df38-4eef-bf6a-7cc1d60586aa" joined connection
"$a2837633-62fc-48f2-acc7-9b987b67c8f7" (1 users now present)
Jan 6 23:40:23 hysecuresslvpn guacd[30990]: Loading keymap "base"
Jan 6 23:40:23 hysecuresslvpn guacd[30990]: Loading keymap "en-us-qwerty"
Jan 6 23:40:23 hysecuresslvpn guacd[30990]: Created static channel "hyprint"...
Jan 6 23:40:23 hysecuresslvpn guacd: guacd[30990]: INFO: Created static
channel "hyprint"...
Jan 6 23:40:23 hysecuresslvpn guacd: guacd[30990]: INFO: Created static
channel "resrdr"...
Jan 6 23:40:23 hysecuresslvpn guacd[30990]: Created static channel "resrdr"...
Jan 6 23:40:24 hysecuresslvpn guacd[30990]: Error connecting to RDP server
Jan 6 23:40:24 hysecuresslvpn guacd: guacd[30990]: ERROR: Error
connecting to RDP server
Jan 6 23:40:24 hysecuresslvpn guacd[30990]: User
"@d9c3e5a9-df38-4eef-bf6a-7cc1d60586aa" disconnected (0 users remain)
Jan 6 23:40:24 hysecuresslvpn guacd: guacd[30990]: INFO: User
"@d9c3e5a9-df38-4eef-bf6a-7cc1d60586aa" disconnected (0 users remain)
Jan 6 23:40:24 hysecuresslvpn guacd: guacd[30990]: INFO: Last user of
connection "$a2837633-62fc-48f2-acc7-9b987b67c8f7" disconnected
Jan 6 23:40:24 hysecuresslvpn guacd: connected to 172.16.1.75:3389
Jan 6 23:40:24 hysecuresslvpn guacd: creating directory
/var/lib/guacd/.freerdp/certs
Jan 6 23:40:24 hysecuresslvpn guacd: certificate_store_open: error opening
[/var/lib/guacd/.freerdp/known_hosts] for writing
Jan 6 23:40:24 hysecuresslvpn guacd: SSL_read: Failure in SSL library
(protocol error?)
Jan 6 23:40:24 hysecuresslvpn guacd: Authentication failure, check credentials.
Jan 6 23:40:24 hysecuresslvpn guacd: If credentials are valid, the NTLMSSP
implementation may be to blame.
Jan 6 23:40:24 hysecuresslvpn guacd[30990]: Last user of connection
"$a2837633-62fc-48f2-acc7-9b987b67c8f7" disconnected
Jan 6 23:40:24 hysecuresslvpn guacd: guacd[20399]: INFO: Connection
"$a2837633-62fc-48f2-acc7-9b987b67c8f7" removed.
Jan 6 23:40:24 hysecuresslvpn guacd[20399]: Connection
"$a2837633-62fc-48f2-acc7-9b987b67c8f7" removed.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)