unlang question

Bruce_M_Richardson at biscuits.com Bruce_M_Richardson at biscuits.com
Fri Mar 20 16:50:09 CET 2009


> $ man unlang
> 
>   Everything following the "if" statement MUST be all on one line of 
text.
> 
>   Alan DeKok.
> -

Ok thanks, I don't think that is clear on 
http://freeradius.org/radiusd/man/unlang.html . 

I now have ...

                if("%{request:Stripped-User-Name}" !~ 
/visitor[0-9]?[0-9]/i) {
                                reject
                                }

and radiusd will start now. 

Thanks to all

Bruce



 Please consider the environment - do you really need to print this email?



________________________________________________________________________________________

This e-mail and any attachments are confidential and solely for the use of the intended recipient.  They may contain material protected by legal professional or other privilege. If you receive it in error, please delete it from your system, make no copies of it, do not disclose its contents to any third party or use it for your own or any other person's benefit. Please advise the sender of its receipt as soon as possible. Although this email and its attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by the company for any loss or damage arising from receipt or use thereof. Any opinions expressed that do not relate to the official business of the company are those of the author, not the United Biscuits group of companies.

United Biscuits (UK) Limited Registered in England number 2506007 Registered Office: Hayes Park, Hayes End Road, Hayes, Middlesex, UB4 8EE
________________________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090320/acb0ce2b/attachment.html>


More information about the Freeradius-Users mailing list