Comparing Two Attributes

Jenny Blunt jennyshoehorn at me.com
Thu Jul 26 13:41:42 CEST 2012


How do I go about comparing two attributes from an update request?

I have the following in my default conf. file:

update request {
       SQL-Location := "%{sql: SELECT xxx}"
 }
      
update request {
       SQL-Location-Id := "%{sql: SELECT yyy }"
}

if (SQL-Location != SQL-Location-Id ) {
		 reject
}

And my debug log shows:

Info: Failed parsing "SQL-Location-Id": Unknown value SQL-Location-Id for attribute SQL-Location


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120726/17dc4ceb/attachment.html>


More information about the Freeradius-Users mailing list