finding out which section we're in

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Dec 3 01:06:54 CET 2015


> On Dec 2, 2015, at 4:02 PM, Alan Buxey <A.L.M.Buxey at LBORO.AC.UK> wrote:
> 
> I'd use seperate policies because it keeps it simpler - your code will otherwise be a nest of if/else statements and wrappers
> 
> Think about if you have different virtual servers...each will have auth/autz/acct but you may want different things....
> 

You can use the special policy names

e.g.

policy.authorize {

}

policy.authenticate {

}

and call 'policy' in the different sections to achieve per section behaviour.

-Arran

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20151202/bac4574b/attachment.sig>


More information about the Freeradius-Users mailing list