RE: Problem using exec module

2005-11-15 Thread Fernando Brito
Sorry, but I had tryed that out and it didn't work. In the second run of the "authorize" section radiusd never touch the subsections, but my guess is that the Autz-Type variable is always empty, even after running the files module: users file DEFAULT Auth-Type := System, Real

Re: Problem using exec module

2005-11-15 Thread Fernando Brito
El mar, 15-11-2005 a las 12:00 +0100, Nicolas Baradakis escribió: > %{check:Autz-Type} Thanks for the advice, I just tryed it and the error is gone but the variable appears to be empty. I'll keep trying but if you have another idea I'll be too glad to hear about it. Thanks and bye!! NanO - Lis

Re: Problem using exec module

2005-11-15 Thread Nicolas Baradakis
Fernando Brito wrote: > Hi, I'm trying to use the next exec module: > > radius.conf --- > > modules { > exec { > wait = yes > input_pairs = request > } > exec echo { > wait = yes > program = "/bin/echo %{Au

RE: Problem using exec module

2005-11-14 Thread Mitchell, Michael J
Hi Nan0, The authorize section of radiusd.conf is actually run twice when an Access-Request is received by the server. The first time, Autz-Type is not set. During the first run through the authorize section, one of the modules may set Autz-Type, for example, a module may set Autz-Type to MY_AUTZ