always received Access-Reject using mysql

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Sun Nov 27 17:26:13 CET 2011


Hi,

> after I complete the installation, I tried to test it :
> # radtest usertest passtest localhost:1812 0 testing123
> Sending Access-Request of id 180 to 127.0.0.1 port 1812
>         User-Name = "usertest"
>         User-Password = "passtest"
>         NAS-IP-Address = 10.1.1.28
>         NAS-Port = 0
> rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=180, 
> length=20

dont really care about this - the 'radiusd -X' output is what is needed
for this list.

> +----+----------+--------------------+----+----------+
> | id | username | attribute          | op | value    |
> +----+----------+--------------------+----+----------+
> |  1 | usertest | Cleartext-Password | == | passtest |
> +----+----------+--------------------+----+----------+

wrong 'op' value.  change that to   :=     rather than   ==


alan



More information about the Freeradius-Users mailing list