SSL VPN
Reply
Trusted Contributor
piccolo78
Posts: 108
Registered: ‎09-13-2009
0

Session Start Scripts in NC with variables ?

[ Edited ]

Hi,

 

it´s possible to launch under the network connect the session start script with variable ?

 

for expample :

 

/home/test/login.sh test

 

Running 7.1R6 (build 20169)

 

thanks

-PIccolo
Moderator
zanyterp
Posts: 2,276
Registered: ‎11-19-2007
0

Re: Session Start Scripts in NC with variables ?

You can use local variables, yes, but none of the ive variables can be used.
Trusted Contributor
piccolo78
Posts: 108
Registered: ‎09-13-2009
0

Re: Session Start Scripts in NC with variables ?

Hi.

How can i pass the variables ?
I have under the start script the following:

/home/rdesktop/rdesktop.sh 10.0.0.1

But this is not working.

Possible to get the ip variables thrue radius ?
Thanks
-PIccolo
Moderator
zanyterp
Posts: 2,276
Registered: ‎11-19-2007
0

Re: Session Start Scripts in NC with variables ?

Oh. That type of variable (used as arguments to the script); no, that cannot be done.

For that, you would have to have the script have interaction to get data from the user. I thought you were referring to the use of system variables such as ~, %home%, etc.

Trusted Contributor
piccolo78
Posts: 108
Registered: ‎09-13-2009
0

Re: Session Start Scripts in NC with variables ?

Hi,

any improvements / features on 7.2 ?

Section NC - Run Script ?

Would be helpfull.

Thanks
-PIccolo
Moderator
zanyterp
Posts: 2,276
Registered: ‎11-19-2007
0

Re: Session Start Scripts in NC with variables ?

no, this is still the same

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.