This set of scripts is a framework to make Sun Ray Kiosk/CAM mode more flexible, assigning per-Token and per-DTU default applications.
As of current release, you can do quite a lot by assigning applications not only to "correctly" registered tokens, but to DTUs as well - in 4 other combinations of authorization (no token, unregistered token, registered token without "piped" fields and registered token pointing to a missing program).
You can also use the "Disabled" checkmark for tokens (i.e. lost or stolen) and define the script's default policy about unknown/missing tokens.
It has been developed and successfully used under Solaris 10 SRSS3.1 CAM and SRSS4 9/07 + patch Kiosk modes. Notes/patches welcome for other platforms.
I expect 1.0.0 1.0.1 to be nearly the last regular public
release on this page for the community, since the project is due to move in to
SunRay-Users SVN Repository.
Maybe some internal/development snapshots will appear here in the future.
Please report your experience and/or submit patches, wishes, etc. to the Sun Ray mailing list.
In short, you register your tokens (smartcards), filling the fields "Owner" and "Other Info" (the latter - with a certain pipe-sep format: USERDESC|PROGRAM|PARAMS). In SRSS4 check that the card is for Kiosk mode, or set Smartcard mode to Kiosk as the default one (SRSS3/4).
Then you unpack this tarball in root dir (most of these scripts already use relative dirs, but some may have the tested base path hardcoded as /opt/SUNWutContrib).
You also install the script /opt/SUNWutContrib/sbin/utselector as the Critical application for your server (in either CDE or JDS desktop) and restart the FOG servers ("utrestart -c" on each).
See lib/docs/README*s, hope they would give some clue to the rest of the setup and framework architecture.
I.e. for your windows config with specific TCP ports you set the
"Other Info" of the card to:
Win user 007|uttsc-direct|-P 3321 winhost
NOTE: I have only tested the wrapper script to work with a domain name
parameter beside the server name; it may require "-d NTDOMAIN",
if used at all, to be the first characters of the parameter:
Win user 000|uttsc-direct|-d ntdom winhost
To configure a DTU for a specific Kiosk app in No-Token situation, set
its "Other Info" (unset fields for other situations with a "bad" token are
parsed as empty for DTU and processed according to token's setup):
DTU 1234|rdesktop-directapp|
See more on DTU Situations in the docs and source code.