session redirection and load balancing on server 2008-R2
Jason Meers <[email protected]>
| Newsgroups | gmane.network.rdesktop.devel |
|---|---|
| Message-ID | <[email protected]> |
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® 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