Security

Reply
Contributor II

Forcing logon after Guest Self-Registration with Mac Caching

I have setup Guest Self-Regisitration with MAC Caching using the Wizard.

 

I have modfied it to send a text message to the user with their username and password.

 

All that works great!

 

However, I'd like to force the user to enter the username and password received via SMS before enabling MAC Caching, but I'm not sure how to do that.

 

I tried creating a boolean GuestUser Attribute called "first_login" and modified the Role-Mappling and Enforcment polices to forcer the user back to the captive portal login page if it is set to TRUE, But I'm not sure where to set it to FALSE.

 

Is their an easier way to setup this functionality?

 

Thanks

-Neil

 

--
Neil Johnson
Guru Elite

Re: Forcing logon after Guest Self-Registration with Mac Caching

"mac caching" should only occur after the user logs in successfully.  What is your workflow?


*Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba Networks or Hewlett Packard Enterprise.*
ArubaOS 8.3 User Guide
InstantOS 8.3 User Guide
Airheads Knowledgebase
Airheads Learning Videos
Contributor II

Re: Forcing logon after Guest Self-Registration with Mac Caching

It's pretty much the standard workflow created by the Wizard, with the exception of sending  a receipt via SMS.

 

Is there a way to modify the receipt page, so that instead of displaying the username and password, It asks for the username and password?

 

-Neil

 

--
Neil Johnson
Guru Elite

Re: Forcing logon after Guest Self-Registration with Mac Caching

See page 38 of the document here:  https://support.arubanetworks.com/Documentation/tabid/77/DMXModule/512/Command/Core_Download/Default.aspx?EntryId=10345

 

Uncheck "Enable Login to a Guest Access Server"


*Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba Networks or Hewlett Packard Enterprise.*
ArubaOS 8.3 User Guide
InstantOS 8.3 User Guide
Airheads Knowledgebase
Airheads Learning Videos
Contributor II

Re: Forcing logon after Guest Self-Registration with Mac Caching

No that disables the ability to login to wireless via the captive portal completely.

 

What I want is, instead of allowing the user to just click "login" button at the bottom of the receipt page, is to force the user back to the initial captive portal login page.

 

-Neil

 

--
Neil Johnson
Guru Elite

Re: Forcing logon after Guest Self-Registration with Mac Caching

I apologize.

 

In receipt actions, Customize Self-Registration Form, you can try unchecking "Enable Download of Guest Receipt".


*Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba Networks or Hewlett Packard Enterprise.*
ArubaOS 8.3 User Guide
InstantOS 8.3 User Guide
Airheads Knowledgebase
Airheads Learning Videos
Guru Elite

Re: Forcing logon after Guest Self-Registration with Mac Caching

You can send the user directly to the login page (skipping the receipt page) by adding this to the receipt page footer:

 

<script type="text/javascript"><!--
addLoadEvent(function() {ldelim}
window.location.href='{$gsr_metadata.register_page|rawurlencode}_login.php?username={$username|rawurlencode}';
{rdelim});
//-->
</script>

Tim Cappalli | Aruba Security
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
Contributor II

Re: Forcing logon after Guest Self-Registration with Mac Caching

I copied the code directly and it doesn't work. I just get stuck on the guest_receipt.php page.

 

-Neil

 

--
Neil Johnson
Guru Elite

Re: Forcing logon after Guest Self-Registration with Mac Caching

You put that on the receipt page?


Tim Cappalli | Aruba Security
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
Contributor II

Re: Forcing logon after Guest Self-Registration with Mac Caching

Yes.

 

I am running a custom skin, could that be it.

 

-Neil

 

--
Neil Johnson
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: