Unlang Condition Wrong Value !

Arran Cudbard-Bell a.cudbardb at freeradius.org
Mon Aug 8 12:01:34 CEST 2011


> Unfortunately I am not much of a programmer .

Ok... but you know SQL right? Which is why i'm suggesting to do the comparison in the SQL database.

> Therefore if you can put
> some examples / pointers based on my requirement, it will be a
> headstart for me .

http://dev.mysql.com/doc/refman/5.0/en/comparisons-using-subqueries.html

Use SELECT COUNT(*) for the outer query and then compare that value in unlang.

-Arran

Arran Cudbard-Bell
a.cudbardb at freeradius.org

RADIUS - Half the complexity of Diameter





More information about the Freeradius-Users mailing list