SSL VPN
Reply
Trusted Contributor
michael.saw
Posts: 1,048
Registered: ‎09-26-2011
0
Accepted Solution

How to change "You are not allowed to sign in. Please contact your administrator."?

[ Edited ]

Hi All,

 

Anyone knows how to change the phrase "You are not allowed to sign in. Please contact your administrator." to something else in MAG, as attached?

Where is the setting on this located?

 

Anyone got a kb or doc link on this?

Thanks!

Michael
JNCIA-JUNOS, JNCIS-ENT/SEC, JNCIP-ENT
(CCNA, ACMP, ACFE, CISE)
"http://www.thechampioncommunity.com/"
CONNECT EVERYTHING. EMPOWER EVERYONE.
Share & Learn. Knowledge is Power.

"If there's a will, there's a way!"
Distinguished Expert
spuluka
Posts: 2,829
Registered: ‎03-30-2009
0

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

This message is a property of the Sign-in page.  You list them on this menu.

 

Authentication - Signing in - Sign-in pages

 

Then open the particular page or pages and update the messages and instructions.

Steve Puluka BSEET
Juniper Ambassador
Expert Network Security Engineer - UPMC Pittsburgh, PA
JNCIA-ER JNCIA-EX JNCIS-SEC JNCIP-SEC
JNCIS-FWV JNCIS-SSL
ACE PanOS 6
MCP - Managing Server 2003 MCP - Windows XP Professional
MCTS Windows 7
http://puluka.com/home
Moderator
zanyterp
Posts: 2,332
Registered: ‎11-19-2007
0

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

You would need to use custom pages for that customization iirc (I will have to check when I get in the office Monday). There is _some_ customization possible without the use of custom pages, but very little.
Trusted Contributor
michael.saw
Posts: 1,048
Registered: ‎09-26-2011
0

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

I couldn't find this on the Admin guide as well...
Thanks!

Michael
JNCIA-JUNOS, JNCIS-ENT/SEC, JNCIP-ENT
(CCNA, ACMP, ACFE, CISE)
"http://www.thechampioncommunity.com/"
CONNECT EVERYTHING. EMPOWER EVERYONE.
Share & Learn. Knowledge is Power.

"If there's a will, there's a way!"
Recognized Expert
kenlars
Posts: 420
Registered: ‎03-24-2008
0

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

There is a separate document on creating custom sign-in pages.  The basic process is to download the default pages from the SA, modify them, and then upload them back to the SA.  Assuming you are using 7.1, you want to look at the j-sa-sslvpn-7.1-customsigninpages.pdf document, and look at the discussion about LoginPageErrorCode and LoginPageErrorMessage.  There are some simple examples there.

 

Ken

Trusted Contributor
michael.saw
Posts: 1,048
Registered: ‎09-26-2011
0

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

Hi Ken,

I'm checking on the http://www.juniper.net/techpubs/software/ive/admin/j-sa-sslvpn-7.1-customsigninpages.pdf...

Seems like we need to change the html coding right?
Thanks!

Michael
JNCIA-JUNOS, JNCIS-ENT/SEC, JNCIP-ENT
(CCNA, ACMP, ACFE, CISE)
"http://www.thechampioncommunity.com/"
CONNECT EVERYTHING. EMPOWER EVERYONE.
Share & Learn. Knowledge is Power.

"If there's a will, there's a way!"
Moderator
zanyterp
Posts: 2,332
Registered: ‎11-19-2007
0

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

Yes, that is correct.
Trusted Contributor
michael.saw
Posts: 1,048
Registered: ‎09-26-2011
0

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

Thanks for the tip! :smileyhappy:
Thanks!

Michael
JNCIA-JUNOS, JNCIS-ENT/SEC, JNCIP-ENT
(CCNA, ACMP, ACFE, CISE)
"http://www.thechampioncommunity.com/"
CONNECT EVERYTHING. EMPOWER EVERYONE.
Share & Learn. Knowledge is Power.

"If there's a will, there's a way!"
Contributor
ed_gpc
Posts: 196
Registered: ‎09-21-2010
0

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

I didn't think there was the ability to modify the messages though?

Recognized Expert
kenlars
Posts: 420
Registered: ‎03-24-2008

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

In the custom signin pages, you can modify the LoginPage.html to change any login error message displayed on that page.  Here is a snippet from our LoginPage.html -

 

<% IF LoginPageErrorMessage == "Invalid username or password. Please re-enter your user information." %>

The credentials you entered are incorrect - please try again. If the issue persists contact your help desk.

<% ELSE %>

<% LoginPageErrorMessage %>

<% END %>

 

So, we change only one of the messages, and let the others be displayed unchanged.

 

Ken

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