On Wednesday 18 June 2003 4:18 pm, Jeff Thompson - World Net Technical Support 
wrote:
> Ok I got freeradius-0.8.1 installed! ... but now mysql is not
> authenticating users...
>
> I get the following error from radiusd -X:
> rad_recv: Access-Request packet from host 204.57.72.47:1026, id=33,
> length=57 User-Name = "jefft"
>         User-Password = "jefft1"
>         NAS-IP-Address = 204.57.72.47
>         NAS-Port = 99
[...]
> rlm_sql_mysql: query:  SELECT id,UserName,Attribute,Value,op FROM radcheck
> WHERE Username = 'jefft' ORDER BY id
[...]
>   modcall[authorize]: module "sql" returns ok
>     users: Matched DEFAULT at 150
>   modcall[authorize]: module "files" returns ok
> modcall: group authorize returns ok
>   rad_check_password:  Found Auth-Type System
> auth: type "System"

As I understand it, auth type "system" means "use the unix passwd/shadow 
file".  You need to set "auth-type := local" at some point [either in the 
"defualt" entry in the "users" file, or as one of the radcheck entries for 
username=jefft in the database]

-- 
Yet another Blog: http://osnut.homelinux.net

Attachment: pgp00000.pgp
Description: signature

Reply via email to