So you're using the same keyboard on both Solaris boxes? Suprising, Solaris is normally pretty good at detecting the right keyboard layout to use, but I guess not in this case.
To remap the keys on one of the systems you'll need to use xmodmap. You can pick up the current keycodes that are set up for the shift and control keys by running /usr/openwin/demo/xev
Have a look at the man for xmodmap and you should see how to remap them, but note that this will only remain in effect for that session. You'll need to make sure that xmodmap is run at the start of each session. This is the Sun recommended way rather than changing the keyboard layout file which is being used.