Re: Unable to save PDF and RTF file in Redirected Drive

2019-02-05 Thread Mike Jumper
On Tue, Feb 5, 2019 at 9:50 AM Amarjeet Singh  wrote:

> ...
> While trying to download pdf and rtf files in the local operating system [
> Windows 10 ], I am getting the below error :-
>
> Report Builder *REP-0081* error during file i/o operation scaba 16
>
>
> ... It is only writing *10 bytes* and corrupted pdf file is downloaded.
>

If you are attempting to save the file directly into the "Download" folder,
it is likely that the application is repeatedly closing and reopening the
file over the course of saving things. As Guacamole will automatically
delete the file and begin downloading once the file is closed, an
application which behaves in this way will not work correctly. You will
need to save the file elsewhere and then move it to the "Download" folder.

- Mike


DELAY OF DISPLAY UPDATE in Guacamole-client

2019-02-05 Thread Amarjeet Singh
Hi Team,

*Browser : Chrome*
*Client : guacamole-client version 1.0.0 with no code changes.*
*Server : guacamole-server version 1.0.0 with no code changes apart from
debug logs.*
*FreeRDP : Version 1.0.2 with support of disp channels.*

I have added the support of disp channel in FreeRDP-1.0.2 to support
display update on the fly in Guacamole.

It is working fine but in *one of the scenario which is very rare though
it works with delay of 6-7 seconds which is weird.*

STEP 1 : When I copy large amount of data from the local application in the
local clipboard which is 4-5  times the below :-

*GUAC_RDP_CLIPBOARD_MAX_LENGTH 262144*


STEP 2 : Then I clicked on the Guacamole Screen [  Browser where guacamole
client is running ]

STEP 3: Now, If I tried to change the screen size then there is a delay.

I added the logs of the guacamole-server at rdp_disp.c



 if (disp->disp != NULL)

{

guac_client_log(client, GUAC_LOG_INFO,

"Sending display channels");

disp->disp->SendMonitorLayout(disp->disp, 1, monitors);

}



There is a delay of 7 seconds in the above  logs.
STEP 4 : If I copy small amount of data again from the local application
and click on the Browser [ guacamole-client ]. Everything is working fine.

I am not coming to any conclusion as I am no expert in Angular JS.
*Could it be possible that guacamole-client is taking time to process the
clipborad data ?*

Thanks,
Amarjeet Singh


Unable to save PDF and RTF file in Redirected Drive

2019-02-05 Thread Amarjeet Singh
Hi Team,

I am using guacamole-server version 1.0.0 and guacamole-client version
1.0.0.

Server : Centos 7  [ Guacamole -Server ]
> Remote OS : Windows Server 2008


We are using  *Oracle Report Builder* application in remote desktop to
generate pdf and rtf files.

While trying to download pdf and rtf files in the local operating system [
Windows 10 ], I am getting the below error :-

Report Builder *REP-0081* error during file i/o operation scaba 16


 I have added as many as logs as possible which are as follows :-

>
> pid:24707(-348199168) 05-Feb-2019 23:00:05
> guac_rdpdr_new_io_completion:Completion id [10] of Status 0 at Size 4
> pid:24707(-348199168) 05-Feb-2019 23:00:06 Major_Func and Minor_Func: 0
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:00:06 guac_rdp_fs_open:
> path="\Download\DELEV_EFF_REP.pdf", access=0x12019f, file_attributes=0x80,
> create_disposition=0x5, create_options=0x60
> pid:24707(-348199168) 05-Feb-2019 23:00:06 guac_rdp_fs_open: Normalized
> path "\Download\DELEV_EFF_REP.pdf" to "\Download\DELEV_EFF_REP.pdf".
> pid:24707(-348199168) 05-Feb-2019 23:00:06 guac_rdp_fs_open: Translated
> path "\Download\DELEV_EFF_REP.pdf" to
> "/home/admin/public/rdp/gaJ7SWmDE7/Download/DELEV_EFF_REP.pdf".

pid:24707(-348199168) 05-Feb-2019 23:00:06 guac_rdp_fs_open: native open:
> real_path="/home/admin/public/rdp/gaJ7SWmDE7/Download/DELEV_EFF_REP.pdf",
> flags=0x242
> pid:24707(-348199168) 05-Feb-2019 23:00:06 guac_rdp_fs_open: Opened
> "\Download\DELEV_EFF_REP.pdf" as file_id=8
> pid:24707(-348199168) 05-Feb-2019 23:00:06 guac_rdpdr_fs_process_create:
> [file_id=8] desired_access=0x12019f, file_attributes=0x80,
> create_disposition=0x5, create_options=0x60,
> path="\Download\DELEV_EFF_REP.pdf"
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_new_io_completion:Completion id [10] of Status 0 at Size 5
> pid:24707(-348199168) 05-Feb-2019 23:00:06 Major_Func and Minor_Func: 5
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_fs_process_query_standard_info: [file_id=8]
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_new_io_completion:Completion id [10] of Status 0 at Size 26
> pid:24707(-348199168) 05-Feb-2019 23:00:06 Major_Func and Minor_Func: 4
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:00:06 guac_rdpdr_fs_process_write:
> [file_id=8] length=10, offset=0
> pid:24707(-348199168) 05-Feb-2019 23:00:06 Wrote 10 bytes in file id [8]
> of length 10 at offset 0
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_new_io_completion:Completion id [10] of Status 0 at Size 5
> pid:24707(-348199168) 05-Feb-2019 23:00:06 Major_Func and Minor_Func: 10
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:00:06 
> *guac_rdpdr_new_io_completion:Completion
> id [10] of Status 0 at Size 33*
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_fs_process_query_volume_info: [file_id=8]
> pid:24707(-348199168) 05-Feb-2019 23:00:06 Major_Func and Minor_Func: 5
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_fs_process_query_basic_info: [file_id=8]
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_new_io_completion:Completion id [10] of Status 0 at Size 40
> pid:24707(-348199168) 05-Feb-2019 23:00:06 Major_Func and Minor_Func: 5
> and 0
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_fs_process_query_standard_info: [file_id=8]
> pid:24707(-348199168) 05-Feb-2019 23:00:06
> guac_rdpdr_new_io_completion:Completion id [10] of Status 0



When I click ok the error, I get the below error :-

[image: image.png]

>
> pid:24707(-348199168) 05-Feb-2019 23:02:03 guac_rdp_fs_open: path="
> *\Download\DELEV_EFF_REP.pdf*", access=0x1, file_attributes=0x0,
> create_disposition=0x1, create_options=0x0
> pid:24707(-348199168) 05-Feb-2019 23:02:03 guac_rdp_fs_open: Normalized
> path "\Download\DELEV_EFF_REP.pdf" to "\Download\DELEV_EFF_REP.pdf".
> pid:24707(-348199168) 05-Feb-2019 23:02:03 guac_rdp_fs_open: Translated
> path "\Download\DELEV_EFF_REP.pdf" to
> "/home/admin/public/rdp/gaJ7SWmDE7/Download/DELEV_EFF_REP.pdf".
> pid:24707(-348199168) 05-Feb-2019 23:02:03 guac_rdp_fs_open: native open:
> real_path="/home/admin/public/rdp/gaJ7SWmDE7/Download/DELEV_EFF_REP.pdf",
> flags=0x0

pid:24707(-348199168) 05-Feb-2019 23:02:03 guac_rdp_fs_open: Opened
> "\Download\DELEV_EFF_REP.pdf" as file_id=4
> pid:24707(-348199168) 05-Feb-2019 23:02:03 guac_rdpdr_download_to_owner:
> Initiating download of "\Download\DELEV_EFF_REP.pdf"
> pid:24707(-348199168) 05-Feb-2019 23:02:03 guac_rdp_fs_close: Closed
> "\Download\DELEV_EFF_REP.pdf" (file_id=8)
> pid:24707(-348199168) 05-Feb-2019 23:02:03
> guac_rdpdr_new_io_completion:Completion id [10] of Status 0 at Size 4



It is only writing *10 bytes* and corrupted pdf file is downloaded.

I also went through MS-RDPEFS and it seems that everything is fine from
guacamole-server side.

*Any idea how may I debug the above issue?*

While downloading the rtf file it is writing  4271 bytes and then it shows
the above error:-


[GitHub] necouchman commented on issue #194: GUACAMOLE-221: Support for Connection Prompts

2019-02-05 Thread GitBox
necouchman commented on issue #194: GUACAMOLE-221: Support for Connection 
Prompts
URL: https://github.com/apache/guacamole-client/pull/194#issuecomment-460712835
 
 
   @jeremylarose 
   You're right, there are situations where it would be beneficial, and we 
definitely want to do it.  Just hasn't made it to the top of the pile, yet.
   
   By the way, with CAS and Guacamole, you can do ClearPass, and 
${GUAC_PASSWORD} will be avaialble.  However, not all SSO modules support this, 
so the point is still well-taken - prompting would be very useful.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] jeremylarose commented on issue #194: GUACAMOLE-221: Support for Connection Prompts

2019-02-05 Thread GitBox
jeremylarose commented on issue #194: GUACAMOLE-221: Support for Connection 
Prompts
URL: https://github.com/apache/guacamole-client/pull/194#issuecomment-460708522
 
 
   @necouchman 
   Thanks.
   
   CAS is an example that would highly benefit from this.  Users can 
authenticate successfully but the ${GUAC_PASSWORD} doesn't redirect.  The only 
way to allow users to enter a password is disabling NLA in RDP.  
   
   Also, not all systems use the same authentication methods.  Maybe you want 
to share a VNC connection with multiple users without hardcoding a password in 
the database.   It's a major addition, but also an important addition for 
versatility of guacamole.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] necouchman commented on issue #194: GUACAMOLE-221: Support for Connection Prompts

2019-02-05 Thread GitBox
necouchman commented on issue #194: GUACAMOLE-221: Support for Connection 
Prompts
URL: https://github.com/apache/guacamole-client/pull/194#issuecomment-460700360
 
 
   @jeremylarose 
   The hold-up is exactly that it is a major change, needs a lot of review, and 
will probably change significantly before it gets merged in.  We have other 
priorities that are higher on our list of things to work on than getting this 
support in there, so it hasn't been completed, yet.
   
   There are other options aside from not using NLA and storing passwords - 
namely integrating with LDAP and using parameter tokens to pass those 
authenticators through to the connections.  I work in an environment with 
Active Directory and a lot of RDP and use this routinely, without storing 
passwords and without disabling NLA.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] jeremylarose commented on issue #194: GUACAMOLE-221: Support for Connection Prompts

2019-02-05 Thread GitBox
jeremylarose commented on issue #194: GUACAMOLE-221: Support for Connection 
Prompts
URL: https://github.com/apache/guacamole-client/pull/194#issuecomment-460696317
 
 
   What's the hold up on this?  It seems like an extremely major addition.  It 
essentially allows the use of NLA RDP connections as opposed to two less secure 
options of NOT using NLA or storing passwords in the database.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services