Hi All
I have the following in the users and acct_users files
DEFAULT Called-Station-Id == 0198334115, Proxy-To-Realm :=
.com
I would like to match on 198334115 with a possibility of about 4 to 6
more number on the front of this number.
I have tried a number of difference regx's
Mike O'Connor [EMAIL PROTECTED] wrote:
I have tried a number of difference regx's but non of them have worked
so I must have something wrong :)
The O'Reilly book helps a lot.
Reading the man page for the users file would help, too. You're
not doing regular expression matching at all.
Thanks Alan
Reading the man page for the users file would help, too. You're
not doing regular expression matching at all.
DEFAULT Called-Station-Id =~ 198334115$, Proxy-To-Realm :=
.com
I did not give any examples of what I had tried which I suppose I should
have.
Below are
Yes, but you missed one important little detail...
use =~
not ==
and as Alan suggested, read the man page where you'll find all sorts of
usefull information like:
Attribute =~ Expression
As a check item, it matches if the request contains an
attribute which matches
Mike Mitchell wrote:
Yes, but you missed one important little detail...
use =~
not ==
Hi Mike, Alan
Did read the manual just did not see that one :(
I'll go check that out now
Cheers
Mike
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
5 matches
Mail list logo