Bjørn Mork wrote:
Miguel <[EMAIL PROTECTED]> writes:
Bjørn Mork wrote:
You could either modify your regexp to allow any number ending in the
8 wanted digits,
How do i do that?, remberber that the fist group its a pbx, 100
callinstationids, i think i need some regexp example for this case.
Just removing the ^'s should do it. Like
Value: 226621[0-9][0-9]$|22793045$|22934240$
Bjørn, that regexp didnt work, i made a test with a generic user
(mmiranda) and same result
radius=# select * from radcheck where username = 'mmiranda';
id | username | attribute | op | value
---------+----------+--------------------+----+---------------------------------------
1706382 | mmiranda | Calling-Station-Id | ~= |
226601[0-9][0-9]$|22793045$|22934240$
1706381 | mmiranda | User-Password | == | americatel
(2 rows)
Wed Apr 19 11:32:14 2006 : Auth: Login incorrect: [mmiranda/americatel]
(from client private-network port 0 cli 22660124)
Wed Apr 19 11:32:15 2006 : Info: rlm_sql (sql): No matching entry in the
database for request from user [mmiranda]
Wed Apr 19 11:32:15 2006 : Auth: Login incorrect: [mmiranda/americatel]
(from client private-network port 0 cli 22660124)
Wed Apr 19 11:32:15 2006 : Info: rlm_sql (sql): No matching entry in the
database for request from user [mmiranda]
Wed Apr 19 11:32:15 2006 : Auth: Login incorrect: [mmiranda/americatel]
(from client private-network port 0 cli 22660124)
---
Miguel
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html