10-20-2015 10:54 AM
Can anyone think of a way for ClearPass to generate a custom RADIUS reply-message based on a filtered memberOf string for an authenticated user?
I am trying to work with a device that can give users options based on what RADIUS returns in the reply-message. I would like to use the memberOf string from an AD query but in alot of cases that string is longer than the reply-message string. So I need a way to filter the memberOf string before inserting it to the reply-message.
10-20-2015 10:57 AM
10-20-2015 11:12 AM
OK, so can I stick the memberOf string in a ClearPass variable and then generate a reply-message based on a query of that variable(string)?
So for example:
memberOf = "CN=Domain Admins, CN=Domain Users, CN=Registered User, CN=VPN Use";
If memberOf CONTAINS "CN=Domain Admins" variable +="Domain Admin";
If memberOf CONTAINS "CN=VPN User" variable+="Domain User";
10-20-2015 11:15 AM