Security

 View Only
Expand all | Collapse all

After user-auth not doing re-auth from mac

This thread has been viewed 26 times
  • 1.  After user-auth not doing re-auth from mac

    Posted Feb 27, 2026 05:14 AM
      |   view attached

    Hey Everyone,

    I already set up a captive portal with sms verification, which works fine.
    But customer had also 1 site where there is no cell-phone coverage so guest-login via SMS isn't possible.

    Came to idea, to perform guest login via email with self-approval of the guest.
    The flow works fine.
    Guest-user receives portal enter his email address and gets access after he clicks on register.
    He comes into the role visitor which allows him access to guest vlan.
    He receives also an email where he can extend his guest account to 24hours.
    So far so good.

    I configured in the SSID profile of the AOS8 mobility gateways a Mac-reauth timer of 600seconds.

    But when the user performs the user-auth the Mac-reauth time isn't there and client doesn't re-auth after 600sec.
    If I manually delete the user and he reconnects his Mac-auth works fine and then he re-auths every 600Seconds and see it also in his show user output.

    What I'm doing wrong here? How can I perform a Mac-auth after user auth on clearpass?
    Session timeout will go back to logon role and isn't solution.
    Also tried with session action radius no success.

    I want after the user-auth to perform a re-auth via Mac after 600seconds.
    To validate if guest account is still active or expired.
    If expired the Mac-auth will return the guest logon role if ok role visitor to allow access to internet.



    -------------------------------------------


  • 2.  RE: After user-auth not doing re-auth from mac

    Posted Mar 03, 2026 12:56 PM

    Are you sending a CoA? How are you accomplishing this? Is there a session lifetime configured on the controller instead?

    Also why AOS8 and not AOS10?

    -------------------------------------------



  • 3.  RE: After user-auth not doing re-auth from mac

    Posted Mar 09, 2026 03:59 AM

    AOS8 since customer doesn't have budget to migrate to AOS10.

    CoA works but I don't send it.
    Session timeout send by clearpass triggers to go back logon role.
    Where everything fails again.

    I want to do Mac-auth after x seconds/minutes and should work as a charm then.

    Someone else had same issue?

    -------------------------------------------



  • 4.  RE: After user-auth not doing re-auth from mac

    Posted Mar 09, 2026 05:06 AM

    Your role is visitor. Did you setup re-auth interval to 600 seconds on this role?

    SSID re-auth is not relevant if you assign different role to the user.

    Best, Gorazd



    ------------------------------
    Gorazd Kikelj
    MVP Guru 2025
    ------------------------------



  • 5.  RE: After user-auth not doing re-auth from mac

    Posted Mar 09, 2026 06:58 AM

    I configured it at role re-auth.
    Then it didn't trigger a Mac-auth on the clearpass and just after 600seconds the captive portal.

    -------------------------------------------



  • 6.  RE: After user-auth not doing re-auth from mac

    Posted Mar 09, 2026 05:11 AM
    Yeah but why not use CoA? this is exactly what it's designed for.





  • 7.  RE: After user-auth not doing re-auth from mac

    Posted Mar 09, 2026 07:00 AM

    Hi,

    Tried it with enforcement profile session timeout.
    Then after x seconds he comes back to captive portal.
    No Mac-auth but goes to initial role without asking to clearpass.
    Best thing is CoA sending disconnect after 600secs.

    But don't know how I can trigger this in clearpass enforcement.

    -------------------------------------------



  • 8.  RE: After user-auth not doing re-auth from mac

    Posted Mar 09, 2026 07:06 AM

    What is services sequence?

    You should have MAC Auth with MAC Caching before Captive portal login.

    Best, Gorazd



    ------------------------------
    Gorazd Kikelj
    MVP Guru 2025
    ------------------------------



  • 9.  RE: After user-auth not doing re-auth from mac

    Posted Mar 09, 2026 08:37 AM

    The sequence is correct.
    First Mac-auth then user-auth.
    The flow works correct if I manually disconnect the client from the controller.
    Then the client comes back and does a Mac-auth.

    Issue is to automate a disconnect after a user-auth after 600seconds.
    Session timeout via enforcement doesn't trigger Mac-auth.
    Role re-auth in gateway/MC (conductor) doesn't trigger also no Mac-auth.

    If I could send a CoA in enforcement of user-auth to disconnect user after 600seconds would be great.
    Like I do manaully and re-auth it against the clearpass.

    -------------------------------------------



  • 10.  RE: After user-auth not doing re-auth from mac

    Posted Mar 09, 2026 08:45 AM

    Hi.

    Yes, you can send CoA in enforcement profile.

    You can use [AOS-CX - Disconnect] or [AOS-CX Bounce Switch Port] enforcement profiles to disconnect the user.

    You will find required attributes in RADIUS Dynamic Authorization Templates.

    Best, Gorazd

    Best, Gorazd



    ------------------------------
    Gorazd Kikelj
    MVP Guru 2025
    ------------------------------



  • 11.  RE: After user-auth not doing re-auth from mac

    Posted Mar 11, 2026 07:53 AM

    I tried everything. But this should work tells everybody.
    But what I see is that it goes always to initial role which is the login role.
    I also see no Mac-auth triggered.

    Session timeout triggers after 350seconds.
    but the termination action 0 (default) or 1 doesn't trigger anything.

    What I'm doing wrong?

    image
    -------------------------------------------