sql.conf problem
Alan DeKok
aland at deployingradius.com
Tue Oct 24 17:05:12 CEST 2006
Norbert Wegener <nw at sbs.de> wrote:
> In a certain context I want to accept all incoming requests.
Ok...
> mysql> select * from radcheck where UserName='000000000009';
> +---------+--------------+--------------+----+----------+---------------------+
> | id | UserName | Attribute | op | Value |
> validto |
> +---------+--------------+--------------+----+----------+---------------------+
> | 1159463 | 000000000009 | Hint | += | assignvl | 2006-10-31
> 00:00:00 |
> | 2512785 | 000000000009 | Auth-Type | := | Accept |
> NULL |
> | 2512786 | 000000000009 | Idle-Timeout | = | 123 |
> NULL |
What are you trying to do here? You're setting Hint (which won't
work the way you want), and you're doing so only if the packet
contains Idle-Timeout, with a value of "123".
> radtest 000000000009 000b5d28f24x4 localhost 1812 testing123
> Sending Access-Request of id 243 to 127.0.0.1 port 1812
... No Idle-Timeout. So that entry won't match.
Alan DeKok.
--
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
More information about the Freeradius-Users
mailing list