Ana Gallardo wrote:
> I want to authorize the access only if there is one attibute Relaciones
> whith a positive value. So I would like to use unlang in authorize
> module to check all the attributes "Relaciones" whit a regex, but I
> don't know how can I check all the attributes, and how can I stop
> procesing the attributes if I found one wihtout a minus sign.
> 
> 
> if ("%{reply:Relaciones}" =~ /^([0-9]{2})/) {

  You can't really do that with "unlang".  I suggest using the perl module.

  Alan DeKok.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to