-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hey guys,
first of all - thanks a lot for making this software possible, it's definitely the best NX/Linux-Terminal connection software out there atm so please keep up the good work!
My report is a followup to messages from mid december concerning LDAP user problems (e.g. with pulseaudio). I am using winbind authentication on an x2goserver so I have to deal with special characters in usernames as well like DOMAIN\username or username@DOMAIN. There's no workaround for that since I'm in a multi-trusted domain environment, no default possible.
When I login as a local user e.g. sysop everything works fine (Ubuntu 10.04 x64, latest x2goserver from heuler repo: 3.0.99 and latest client 3.01-17 under Tinycore Linux, log attached). When I login as an winbind user USER\huhs01868030 miscellaneous files and directories are not created. I'm attaching a $ find .x2go for all cases.
Among them are: .pulse-client.conf .pulse-cookie cmdoutput keys under ssh/ link to spool directory
It seems that there are problems when functions like ssh_scp_push_file() from libssh are called. Log shows they are called with double quotes for parameters (although IMHO it should be better to call them with single quotes - the difference lies in handling escape sequences as they are interpreted with double quotes and left out with single quotes, but that's a guess from me ;).
I'm also attaching changes for sshmasterconnection.cpp which solved the problems to a certain degree by escaping the back slashes again before throwing them over to libssh. However spool directory and cmdoutput are still not created but that seems to be server related too.
Another code fragment I don't understand and which causes errors in my case is the definition of dst in onmainwindow_part3.cpp on line 899.
dst="~"+uname +"/.x2go/ssh"+dst;
According to the log this results in x2goclient trying to create keys in "~USER\huhs01868030/.x2go/ssh", which is surely not working. Attached patch works for me with just letting uname out of dst.
I can provide more details and tests if you like to see them.
Best regards and greetings from Berlin,
Robert
|-----------------------------------------------------address-+ | work: jacob-und-wilhelm-grimm-zentrum | geschwister-scholl-str. 1, 10117 berlin | postal: humboldt-universität zu berlin | computer- und medienservice | unter den linden 6 | 10099 berlin |-----------------------------------------------------contact-+ | mail: schumann@informatik.hu-berlin.de | icq: 93163687 | xmpp: betulichergutmensch@googlemail.com | huchat: schumanr@chat.hu-berlin.de | phone: +49(0)30-2093-70133 |-----------------------------------------------------gpg/pgp-+ | key: remembrance.de/gpg/0xA5A5FAA2.asc | fprint: 9220-9732-7390-7A0C-5623-3336-4233-FDF8-A5A5-FAA2 |-------------------------------------------------------------+
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAk1QU/4ACgkQQjP9+KWl+qKDkQCgkBnQr6GUsA2vC2/hR2inAqhp ip8An0r7bsv9l1YzOLsxGl8EEdzdZZJd =5TYo -----END PGP SIGNATURE-----