[X2Go-Dev] Effective username not correct in Session ID because of plus sign in user names (Windows AD / Samba4)
j.rohde at nederlandlive.nl
j.rohde at nederlandlive.nl
Tue Mar 20 10:29:51 CET 2018
Hi All,
I've encountered a problem with the latest ppa packages (stable:
4.1.0.0-0~1517~ubuntu14.04.1).
My system runs a samba4 server and my users are named:
"DOMAIN+user" (the plus sign is a literal plus / AD style).
When the session ID for x2go is formed/created the plus sign is stripped
from the user name apparently.
This gives (at least) a problem when changing the state in de DB:
In /usr/share/perl5/X2Go/Server/DB/SQLite3.pm line 403 an attempt is
made to get the 'effective' user name, but that will never happen
because of the stripped out plus sign. As a consequence sessions are not
terminated/suspended/etc..
For now i've made it so my $effective_user == $realuser, but this breaks
desktop sharing functionality.
Sort of the same bug was present in earlier versions, but was fixed
later on.
I've tried to find the script/code where the session id is formed, but
could not find it yet.
I guess that's where this should be fixed though.
Is it possible to get support for these style of user names?!
Best,
Joost
More information about the x2go-dev
mailing list