Michael
I am attempting an iteration of this where I have added an onsite sponsor using sponsors email address. My issue is the logic used in the Guest MAC Auth enforcement policy. I'm very new to Clearpass but do understand conditions rules methodology.
Extract from the PDF file

The first condition tests Tips:Role as equal to demo-Unsponsored and it also equals demo-sponsored and it doesn't equal demo-expired.
Surely it can never equal two different values so this test will never be true.
Conditions 2, 3 and 4 also have additional tests that would be superfluous.
Did you mean to test Tips:Role for each of these.
In your policy conditions:
Condition 1: Non-Expired, Sponsored & Unknown Device – first MAC Authentication after sponsorship.
Note: Originally the role evaluation was set to ‘Evaluate-all’, but now set to ‘First-applicable’ so this rule
will probably never be hit, but has been left in.
• Update Endpoint Known and change attribute in Endpoint DB, RoleID=5
• Send Aruba-User-Role=demo-sponsored.
• Send session-timeout= %{Authorization:demo MAC-Guest-Check:MAC-Expires}
• Username = %{Endpoint:Username}
Condition 2: Non-Expired, sponsored & Unknown device – Guest account that has been
sponsored by a different device. This is not likely with a short Preauth session, but for longer
sessions, this may be relevant. Basically, the account is validated with a different device on a
different network (requires Clearpass is accessible, typically over internet). The original device
connects, but it is still Unknown. Alternatively, this is the first mac-auth after sponsorship.
• Update Endpoint Known and change attribute in Endpoint DB, RoleID=5
• Send Aruba-User-Role=demo-sponsored.
• Send session-timeout= demo sponsored session timeout (4 hours)
• Username = %{Endpoint:Username}
The tests seem to be for the same thing. Surely you would need to find something that would be different between the two that could be tested for that would make one test true and the other false.
Are my assumptions correct and con someone suggest alternative tests.
Thanks in advance guys
Wayne