Wireless Access

last person joined: yesterday 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

ClearPass and Controller Roles

This thread has been viewed 7 times
  • 1.  ClearPass and Controller Roles

    Posted Mar 22, 2020 08:53 AM

    Worked with support yesterday configuring ClearPass to be our new radius server over Windows.  We got everything set up so if a user is in a Windows group "students" Clear Pass assigns Role-Student and passes to controller.  Controller has a role called Role-Student as well and user should get this but is getting guest role which is default in ClearPass service.  Finally, tech stopped and said it was a controller issue and passed me to them.  I know this should be simple so if anyone has ideas for me to check let me know.  Thanks and stay safe out there.



  • 2.  RE: ClearPass and Controller Roles

    EMPLOYEE
    Posted Mar 22, 2020 09:09 AM

    "Finally, tech stopped and said it was a controller issue and passed me to them".  Passed you to who?

     

    Either way, you need an enforcement profile that returns the Aruba-User-Role attribute to the controller to set the role upon authentication.



  • 3.  RE: ClearPass and Controller Roles

    Posted Mar 22, 2020 09:19 AM

    ClearPass support passed me to controller support.

     

    I have the following enforcement policy in Cpass:

     

    Radius:ArubaAruba-User-Role=Role-Student

    This is the same name as the role on controller.



  • 4.  RE: ClearPass and Controller Roles

    Posted Mar 22, 2020 09:21 AM

    So when my test user connected to SSID this is the radius response in ClearPass which looks correct -

     

    Radius:Aruba:Aruba-User-RoleRole-Student

    However, when you look on controller the user is assigned the guest role and placed in guest VLAN



  • 5.  RE: ClearPass and Controller Roles

    EMPLOYEE
    Posted Mar 22, 2020 09:35 AM

    Not to correct you, but you would configure that in an Enforcement Profile in Clearpass.

     

    In the "Output" and "Alerts" tab in the Access Tracker, does it show that ClearPass is returning that attribute to the controller?  If it is, you need to type "show user ip <ip address of user> | include Role" on the controller to see how the role was set on the user:

     

    (Babarella) #show user ip 192.168.1.114 | include Role
    This operation can take a while depending on number of users. Please be patient ....
    Role: authenticated (how: ROLE_DERIVATION_DOT1X), ACL: 96/0

     

    Lastly, you need to do a "aaa user delete <ip address of user>", and disconnect the user's WLAN card after you make changes on ClearPass, so that you will not be using cached information.

     

    The flow:

    ClearPass returns an "Accept" and the Aruba-User-Role attribute.  That will be reflected in the access tracker in the "output" and maybe the "alerts" tab in ClearPass.  That Attribute automatically sets the role on the controller and you don't need to do anything on the controller side.

    "show user ip" should show you how the user obtained the role.

    use "aaa user delete" between changes to disconnect the user so that you are not using cached info"

     



  • 6.  RE: ClearPass and Controller Roles

    EMPLOYEE
    Posted Mar 22, 2020 09:46 AM

    Lastly the Aruba-User-Role attribute is case sensitive.  If you do not type the role name in clear pass exactly as it is defined on the controller the user will simply obtain the default 802.1x role in the AAA profile, which is typically guest.



  • 7.  RE: ClearPass and Controller Roles

    Posted Mar 22, 2020 10:34 AM

    Show user

     

    Profiles AAA:OpenDoors_aaa_prof, dot1x:OpenDoors_dot1_aut, mac: CP:n/a def-role: 'guest' via-auth-profile:''
    Reauth-interval from role: 0

     

    I do see on CPass user authenticated and got the correct enforcement profile but guest role for some reason.  Also see

    Radius:Aruba:Aruba-User-Role

    Role-FacStaff

     

    as radius response on Cpass

     

     



  • 8.  RE: ClearPass and Controller Roles

    EMPLOYEE
    Posted Mar 22, 2020 10:47 AM

    This is the portion that is needed:

     

    Role: authenticated (how: ROLE_DERIVATION_DOT1X), ACL: 96/0



  • 9.  RE: ClearPass and Controller Roles

    Posted Mar 22, 2020 10:49 AM

    Can you expand a little on this?  Not enough coffee yet.



  • 10.  RE: ClearPass and Controller Roles

    EMPLOYEE
    Posted Mar 22, 2020 01:01 PM

    show user ip <ip address of user> will say how the role for the user was derived.

     

    You are probably misspelling the role name in ClearPass.  It has to be exact when it is passed to the controller, otherwise you will obtain the default role.

     

    I would continue to work with TAC in parallel so that you can get specific advice and instruction from someone who has your logs and access to your system....  over here, we are just guessing what could be wrong and that is very inefficient.



  • 11.  RE: ClearPass and Controller Roles

    Posted Mar 22, 2020 01:33 PM

    Agreed - will keep working with TAC.  I checked and do not see misspell but good thought.  Here is the show command of one that works and one that does not

     

     

     



  • 12.  RE: ClearPass and Controller Roles

    EMPLOYEE
    Posted Mar 22, 2020 01:49 PM

    no.

     

    In the output of show user ip <ip address of user>  there is a line:

     

    Role: authenticated (how: ROLE_DERIVATION_DOT1X), ACL: 96/0

     

    That basically says how a user got its role (how:).  That is what you should be looking at.  In the line above, it said it got its role from role derivation.  Your user should have a reason, as well.

     

    You also have two different aaa profiles for the one that works and the one that doesn't work, but that does not mean anything.



  • 13.  RE: ClearPass and Controller Roles

    Posted Mar 22, 2020 01:56 PM

    Double checked and do not see this in the CLI show user <IP ADDRESS>

     

    Role:authenticated (how: ROLE_DERIVATION_DOT1X)., ACL: 96/0



  • 14.  RE: ClearPass and Controller Roles

    EMPLOYEE
    Posted Mar 22, 2020 02:11 PM

    What version of ArubaOS is this?

     

    Please PM me that entire output



  • 15.  RE: ClearPass and Controller Roles

    EMPLOYEE
    Posted Mar 22, 2020 02:12 PM

    For a shorter output, try "show user mac <mac address of user>"



  • 16.  RE: ClearPass and Controller Roles

    Posted Mar 22, 2020 02:14 PM