Wireless Access

Reply
Super Contributor II
Posts: 354
Registered: ‎09-26-2012

Assigning User Role on the basis of User Name

Dear Friends,

 

hope you are doing good. I have deployed captive portal authentication with internalDB as authentication server. The system is working good. Now we want to change little functionality of the system. We want different users get the different user role based on username provided by the users in captive portal page.

 

I have created few test users with different user role as given below

 

2.png

 

the user name "muradali" has created with user role "test" while other users are set to get "guest" role.
 but the problem is that all the users are getting "authenticated" role.

 

1.png

 

Please look into it and advice how to resolve it.

Thanks & Regards
Syed Murad Ali
ACMP ACMA CCNA
Guru Elite
Posts: 8,643
Registered: ‎09-08-2010

Re: Assigning User Role on the basis of User Name

Did you delete the user from the user-table before reauthenticating after making the role change?

 

From the CLI:

aaa user delete name muradali


Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
Aruba
Posts: 1,644
Registered: ‎04-13-2009

Re: Assigning User Role on the basis of User Name

[ Edited ]

If deleting the user as Tim suggests doesn't work:

 

Do you have server rules setup to assign the roles?    The Captive Portal profile will assign the default Guest role upon successful logon; looks to be "authenticated" in your setup.   If you want to override this, make sure that you have the server group assigned to the captive portal profile setup with server rules; for example:

 

Screen Shot 2013-10-30 at 7.00.45 AM.png

------------------------------------------------
Systems Engineer, Northeast USA
ACCX | ACDX | ACMX

Super Contributor II
Posts: 354
Registered: ‎09-26-2012

Re: Assigning User Role on the basis of User Name

Thanks Clembo,

 

I forgot to make server rule. I will make it when i will go to the site. Than i will get back to you.

Thanks & Regards
Syed Murad Ali
ACMP ACMA CCNA
Search Airheads
Showing results for 
Search instead for 
Did you mean: