Hello,
I am new to radius but i have been able to set it up to work, the funny
thing is i can authenticate with the passwd file if i dont have a Default
entry point to sql. As soon as i do that i can authenticate users in mysql
database but cannot authenticate users in passwd file. Below is an extract
of my user file and the result with radtest. what am i doing wrong
DEFAULT Auth-Type += System
Fall-Through = Yes
DEFAULT AUTH-Type := sql, Simultaneous-Use := 1
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-IP-Address = 255.255.255.254,
Framed-MTU = 1500,
Fall-Through = Yes
user in passwd file
=
bash-2.03# radtest nana nana mantse-1 1645 qwer
Sending Access-Request of id 146 to 196.3.64.39:1645
User-Name = "nana"
Password = "\263\252\002UV\310\201<\010w8Y\323\350\244i"
NAS-IP-Address = mantse-1
NAS-Port-Id = "1645"
rad_recv: Access-Reject packet from host 196.3.64.39:1645, id=146, length=20
user in mysql database
==
bash-2.03# radtest fredf wilma mantse-1 1645 qwer
Sending Access-Request of id 151 to 196.3.64.39:1645
User-Name = "fredf"
Password = "\377\027\273\033_\324\rU\204\032\001\210\025\353\013u"
NAS-IP-Address = mantse-1
NAS-Port-Id = "1645"
rad_recv: Access-Accept packet from host 196.3.64.39:1645, id=151, length=50
Framed-Compression = Van-Jacobson-TCP-IP
Service-Type = Framed-User
Framed-Protocol = PPP
Framed-IP-Address = 255.255.255.254
Framed-MTU = 1500
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html