finding out which section we're in
Alan DeKok
aland at deployingradius.com
Wed Dec 2 19:33:11 CET 2015
On Dec 2, 2015, at 1:04 PM, Franks Andy (IT Technical Architecture Manager) <Andy.Franks at sath.nhs.uk> wrote:
>
> Sorry, realise this request is a bit ambiguous - to state things better, I have policy.d unlang "scripts" which are called both in authorize, accounting and so on (same script), and in the script I want to say if (section==authorize) { stuff } elseif (section==accounting) { stuff }
It's probably best to just have 3 policies. There is a limited to the flexibility of "unlang".
Alan DeKok.
More information about the Freeradius-Users
mailing list