[THIN] Re: WI4 client names

  • From: Thin Fan <thinfan@xxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Mon, 18 Jul 2005 09:17:01 -0700

I saw that someone already responded with the published Citrix
solution, however that method disables workspace control.

We therefore took a different route:  We modified the Session.cs file
and left workspace control enabled.  Now we get User Name (not
domain-username) for the Client ID AND we have workspace control
still.

We are still testing this method to assure no other problems, but so
far it looks good.

Session.cs info:

Here is the original Code

Change these lines to decide how the client name is chosen:

    // Get the client name to use (create a new one, if necessary)

    String clientName = (String)deviceState.get(COOKIE_LOGIN_CLIENT_NAME);

    if (!MPSClientNames.isValidUniqueName(clientName)) {

        if( config.getWorkspaceControlConfiguration().getEnabled() ) {

            clientName = MPSClientNames.generateUnique();

            deviceState.put(COOKIE_LOGIN_CLIENT_NAME, clientName); //
Remember for future sessions

        } else {

            // Use the old client name format when Workspace Control
is disabled for

            // compatibility (MPS/U and MF1.8 need the old format to do roaming

            // reconnection).

            clientName = MPSClientNames.fromAccessToken( accessToken );

        }

    }

For example, replacing the lines above with this should always use the
client name derived from the username:

    // Always determine the client name from the user's identity

    String clientName = MPSClientNames.fromAccessToken( accessToken );



On 7/17/05, Evan Mann <emann@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Is there any way to make WI pick up the clients computer name?  Right
> now it's showing it as WI_xckjsdlSdsd (litterally random characters, or
> so it looks).  That makes it impossible for a client to select between
> their printers.
> 
> I tried the GPO settings for legacy printer mappings but that didn't
> help
> ********************************************************
> This Weeks Sponsor: Lakeside Software
> SysTrack is the easiest to use, most complete way to monitor system and
> application performance. SysTrack combines comprehensive monitoring 
> capabilities with hardware/software inventory, change management, user/web
> auditing, and reporting to create a total management solution.
> Evaluation at: http://www.LakesideSoftware.com
> **********************************************************
> Now available BriForum-The Video!
> http://www.brianmadden.com/store/pc/viewPrd.asp?idproduct1&idaffiliate3
> Useful Thin Client Computing Links are available at:
> http://thin.net/links.cfm
> ThinWiki community - Excellent SBC Search Capabilities!
> http://www.thinwiki.com
> ***********************************************************
> For Archives, to Unsubscribe, Subscribe or
> set Digest or Vacation mode use the below link:
> http://thin.net/citrixlist.cfm
>
********************************************************
This Weeks Sponsor: Lakeside Software
SysTrack is the easiest to use, most complete way to monitor system and
application performance. SysTrack combines comprehensive monitoring 
capabilities with hardware/software inventory, change management, user/web
auditing, and reporting to create a total management solution.
Evaluation at: http://www.LakesideSoftware.com
**********************************************************
Now available BriForum-The Video!
http://www.brianmadden.com/store/pc/viewPrd.asp?idproduct=1&idaffiliate=3
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: