Hi Mike,

I appreciate your efforts. I will be more diligent and do more debugging
and testing before reporting any bug on JIRA.

Thanks Mike for helping and guiding me out.

I have done the following changes :-


guac_rdpdr_send_client_name_request(rdpdr, "Guacamole RDP");   to
guac_rdpdr_send_client_name_request(rdpdr, "Cloud Storage");   in
*rdpdr_messages.c*


*and *



*/***
* * Name of the filesystem.*
* */*
*#define GUAC_FILESYSTEM_NAME          "G\0u\0a\0c\0a\0m\0o\0l\0e\0\0\0"*
*#define GUAC_FILESYSTEM_NAME_LENGTH   20*

*/***
* * Label of the filesystem.*
* */*
*#define GUAC_FILESYSTEM_LABEL          "G\0U\0A\0C\0F\0I\0L\0E\0"*
*#define GUAC_FILESYSTEM_LABEL_LENGTH   16*



to



*/***
* * Name of the filesystem.*
* */*
*#define GUAC_FILESYSTEM_NAME          "C\0L\0O\0U\0D\0\0\0"*
*#define GUAC_FILESYSTEM_NAME_LENGTH   12*

*/***
* * Label of the filesystem.*
* */*
*#define GUAC_FILESYSTEM_LABEL          "C\0L\0O\0U\0D\0"*
*#define GUAC_FILESYSTEM_LABEL_LENGTH   10*


> *So you have apparently changed the UTF-16 string
> ("G\0u\0a\0c\0a\0m\0o\0l\0e\0\0\0") to something which is not encoded in
> UTF-16 ("ClouStorage"). Because RDP requires this to be UTF-16, it
> interprets it as such.*


 Where do I have to encode it ?

Is there anything else I have to do along with the above.


Thanks and Regards,
Amarjeet Singh

On Fri, Feb 23, 2018 at 6:35 AM, Mike Jumper <mike.jum...@guac-dev.org>
wrote:

> On Thu, Feb 22, 2018 at 4:35 PM, Mike Jumper <mike.jum...@guac-dev.org>
> wrote:
>
>> ...
>>
>> ... the name of the redirected drive is not correct. ... NOTE : - I have
>>> changed the name of the drive from Guacamole to Cloud Drive in
>>> guacamole-server [ Is it is the reason ? ]
>>>
>>
>> Yes. You have changed the name from a correctly-encoded value to
>> something which is not correctly encoded.
>>
>>
> FYI, regarding your modifications, your screenshot shows the following
> text:
>
>     汃畯瑓牯条e
>
> Breaking that down as Unicode, we get:
>
>     U+6C43 = 汃
>     U+756F = 畯
>     U+7453 = 瑓
>     U+726F = 牯
>     U+6761 = 条
>     U+0065 = e
>
> The UTF-16 equivalent for this in the byte order used by RDP would be:
>
>     43 6C 6F 75 53 74 6F 72 61 67 65 00
>
> Which is the equivalent of the string:
>
>     "ClouStorage"
>
> So you have apparently changed the UTF-16 string
> ("G\0u\0a\0c\0a\0m\0o\0l\0e\0\0\0") to something which is not encoded in
> UTF-16 ("ClouStorage"). Because RDP requires this to be UTF-16, it
> interprets it as such.
>
> - Mike
>
>

Reply via email to