callingstationid filter and regexp
    Miguel 
    mmiranda at 123.com.sv
       
    Wed Apr 19 00:02:25 CEST 2006
    
    
  
Hi, im trying to configure a check that 1315 username will be allowed to 
connect only from a particular list of callinstationids, so i added a 
Calling-Station-Id attribute to the radcheck table, this are my filter's 
details
username: 1315
list of callingstationids:
- from 22662100 to 22662199 (this is a pbx)
- 22793045
- 22934240
the attribute was entered like this:
username: 1315
attribute: Calling-Station-Id
Op:   ~=
Value: ^226621[0-9][0-9]$|^22793045$|^22934240$
But i always get acces denied:
Tue Apr 18 15:38:04 2006 : Auth: Login incorrect: [1315/1315] (from 
client private-network port 0 cli 50322793045)
Tue Apr 18 15:38:20 2006 : Info: rlm_sql (sql): No matching entry in the 
database for request from user [1315]
Tue Apr 18 15:38:20 2006 : Auth: Login incorrect: [1315/1315] (from 
client private-network port 0 cli 50322793045)
Tue Apr 18 15:39:09 2006 : Info: rlm_sql (sql): No matching entry in the 
database for request from user [1315]
Tue Apr 18 15:39:09 2006 : Auth: Login incorrect: [1315/1315] (from 
client private-network port 0 cli 50322793045)
Tue Apr 18 15:39:24 2006 : Info: rlm_sql (sql): No matching entry in the 
database for request from user [1315]
Tue Apr 18 15:39:24 2006 : Auth: Login incorrect: [1315/1315] (from 
client private-network port 0 cli 50322793045)
Is my regexp mistyped? or am i using the wrong op?
thanks
    
    
More information about the Freeradius-Users
mailing list