Write a batch file wrapper that sets the BL_AUTH_PROFILE_NAME variable and NSHDIR after prompting the user what env they are connecting to ?
If you launch nsh from ‘nsh here’ you shouldn’t have a problem. the above would only be an issue if you start nsh from the cmd prompt.
That would be acceptable, we can give them a batch file. Sharing the same c:\windows\rsc\HOME file won't create any problem between versions?
I've just tried it with only one console version and I can't connect to two environments at the same time. I get the following error with the cache credentials when I go back to the first NSH window I logged to.
SSO Error: Could not find a credential in cache file "C:\Users\T036339\AppData\Roaming\BladeLogic\bl_sesscc" that matches the current authentication profile
Error in Initializing RBAC User and Role (SSO Proxy)
Network Shell can be used for local access
this is my batch file:
echo "Available environments"
echo "1) PROD"
echo "2) DEV"
CHOICE /C 12 /N /T 10 /D 1 /M "Select environment [1,2]: "
IF ERRORLEVEL 1 set BL_AUTH_PROFILE_NAME=PROD
IF ERRORLEVEL 2 set BL_AUTH_PROFILE_NAME=DEV
Is there a way to bypass this?
I managed to bypass the error by setting the following variable:
yeah - for connecting to different env at the same time w/ nsh started from the start menu or command line they will need different cred cache files. as far as the 'HOME' - the NSHDIR setting should be set to the location of the nsh install for whatever version.