Hi,
we are facing a problem with SamLauncher and Windows 7, with the following command line :
"C:\Program Files (x86)\Juniper Networks\Secure Application Manager\SamLauncher.exe" "-start -url https://our_url/xyz -u username -r realm"
we got :
Usage: SamLauncher [-start|-stop|-signout|-version|-help]
[-url url] [-u user] [-p password] [-c certificate] [-r realm] [-reboot]
[-verbose] [-noupgrade] [-loginscript file] [-postscript file]
on our SA-4000 Cluster running version 6.5R3.1
Any idea ?
Have you tried with including the required password option being sent?
Are you launching it from the same directory that it resides in or from a different location?
Does it work on 32-bit machines?
Even if password is not sent as an argument, you should get a prompt to enter password if the connection can be established.
Normally the command prompt shows you the samlauncher argument list if the command entered could not be processed either due to a bad syntax or wrong arguments.
Check this on other OS like XP to determine if it works ok you can then narrow it down to windows 7 OS specific issue.
Have you tried removing/re-positioning the quotes around the arguments?
On XP for instance, the following works and pops a password box:
C:\Program Files\Juniper Networks\Secure Application Manager>SamLauncher.exe -start -url http://foo.bar/xyz -u user -r realm
but this gives the usage info:
C:\Program Files\Juniper Networks\Secure Application Manager>SamLauncher.exe "-start -url http://foo.bar/xyz -u user -r realm"
I can put quotes around the URL options which also works e.g.
C:\Program Files\Juniper Networks\Secure Application Manager>SamLauncher.exe -start -url "http://foo.bar/xyz" -u user -r realm