unlang question

Bruce_M_Richardson at biscuits.com Bruce_M_Richardson at biscuits.com
Fri Mar 20 16:29:43 CET 2009


> Don't open and close brackets on the same line. Have a look at Arran's
> statement.

Ok I tried this ...


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

and got this ...

/usr/local/etc/raddb/sites-enabled/all[156]: Parse error in condition at: 
"%{request:Stripped-User-Name}" !~

any ideas ?

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/fe043763/attachment.html>


More information about the Freeradius-Users mailing list