I am trying to get xrdp 0.4.1 working with the Mocha iPhone RDP client, and it is not working.
I turned on debug information, and the connection is failing in xrdp_sec_process_logon_info() - the 'flags' variable is 0xb, and the code is expecting (at least) the 0x33 bits to be set. I looked at the latest CVS, and it doesn't look like this part of the code has changed much. I surmise from looking at the code that 'flags' has bits describing characteristics of the following data.
What do those extra two bits (the 0x30 bits) mean? From looking at the data that comes after the flags, I am guessing that one or both bits are related to the character set. Maybe '00' is UTF-8 or ASCII, '11' is UTF-16, '10' and '01' are some other encodings?
If someone can point me in the right direction, I could probably code something up to test it out and submit a patch.