Calling-Station-Id

Ben Wiechman wiechman.lists at gmail.com
Thu Jan 7 14:57:31 CET 2010


> 
> > This time I used:
> >
> > |298|test at internet.quimefa.cu|MD5-Password       | := | password
> > |313|test at internet.quimefa.cu|Calling-Station-Id | =~ | 6480342|555555
> >
> > and it still accepts the user from regardless of the phone number it's
> using. this is what comes up
> > in the debug.
> 
> [..]
> 
> > [sql] sql_set_user escaped user --> 'test at internet.quimefa.cu'
> > rlm_sql (sql): Reserving sql socket id: 3
> >         expand: SELECT id, username, attribute, value, op
> FROM
> > radcheck           WHERE username = '%{SQL-User-Name}'           ORDER
> > BY id -> SELECT id, username, attribute, value, op           FROM
> > radcheck           WHERE username = 'test at internet.quimefa.cu'
> > ORDER BY id
> >         expand: %{Calling-Station-Id} -> 72061490
> > [sql] User found in radcheck table
> 
> I do not understand this.  It can't happen if what you've got in the
> database is what you tell us above.
> 
> 
> Bjørn
> 

Try removing the radreply entry with auth-type := accept. Won't that allow the user in regardless of the check items?

Ben






More information about the Freeradius-Users mailing list