Re: session redirection and load balancing on server 2008-R2

Jason Meers <[email protected]>
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
Hi all,

"Session redirection and load balancing on server 2008-R2"

Has anyone found a fix for this yet, or have any suggestions for a fix yet.

I'm planning at spending some time over the weekend looking at this
and have booked some time in a test lab on Wednesday to test a fix
against 2003, 2008 and 2008-R2 if we have one by then (just to make
sure it works and hasn't broke anything else)


I also had a conversation with someone yesterday who told me that some
of the well known thin client manufacturers (you know who you are)
have linux-based devices that are working properly with 2008 R2
session broker/redirection.

1) Can anybody else confirm this?

2) Would any of these well known thin client manufacturers like to
step-up and give these modifications back to the community please (as
required by the GPL you are distributing it under)?

3) Has this ever happened before, is there a precedent we should
follow if any GPL violations are confirmed?

Best regards,

Jason_Meers


On 19 March 2010 13:42, Jason Meers <[email protected]> wrote:
> Hi When the following fix is implemented on the current SVN version of rdesktop:
>
> In line 977 of ./rdesktop/trunk/rdesktop.c
>
> - STRNCPY(g_username, g_redirect_username, sizeof(g_username));
> + STRNCPY(g_username, g_redirect_username, strlen(g_username) + 1);
>
> It doesn't completely solve the problem.
>
> For example if you login as:
> DOMAIN\USERNAME
>
> The redirected session only receives something like:
> DOMAIN\USE
>
> After applying the fix it only gives us one more char such as:
> DOMAIN\USER
>
> So the current SVN code is not correctly determining the correct
> length and value of the redirected DOMAIN\USERNAME to provide,
> resulting in it not working transparently and sometimes requiring the
> user to re-login twice.
>
> From looking at ./rdesktop/trunk/rdesktop.c I am also wondering if
> some of the other fields would also get truncated as the code looks
> very similar.
>
> Best regards,
>
> Jason_Meers
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.