Hi, In documentation (3.0.8) is module if (reject) { ... } But in case of rlm_perl i need to use (this works) perl { reject = 1 } if (reject) { ... } Thx.
http://networkradius.com/doc/3.0.8/unlang/cond_module.html The Unlang interpreter tracks the return code of any module that has been called. This return code can be checked in any condition. If the saved return code matches the code given here, then the condition evaluates to true. Otherwise, it evaluates to false. module if (module-code) { ... } On Fri, Apr 24, 2015 at 6:39 PM, Alan DeKok <aland@deployingradius.com> wrote:
On Apr 24, 2015, at 10:34 AM, Peter Balsianok <balsianok.peter@gmail.com> wrote:
In documentation (3.0.8) is
What documentation?
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Apr 25, 2015, at 2:21 AM, Peter Balsianok <balsianok.peter@gmail.com> wrote:
http://networkradius.com/doc/3.0.8/unlang/cond_module.html
The Unlang interpreter tracks the return code of any module that has been called. This return code can be checked in any condition. If the saved return code matches the code given here, then the condition evaluates to true. Otherwise, it evaluates to false.
That's true, but the module processing sections change this a little bit. The "FreeRADIUS Technical Guide" explains this in detail. We're working on getting the documents merged. Alan DeKok.
participants (2)
-
Alan DeKok -
Peter Balsianok