Title: MySQL problem

Hi,

I am using FreeRadius 0.5 and MySQL.

I have put the followings in radiusd.conf:

authorise {
        preprocess
        suffix
        sql
}

authenticate {
        pap     <--- I  remove sql as I know sql is not allowed in 0.5 version
}    

but when dialing to model pool, it gave me the following error
rad_recv: Access-Request packet from host 202.70.19.252:1645, id=60, length=85
        NAS-IP-Address = 202.70.19.252
        NAS-Port = 132
        NAS-Port-Type = Async
        User-Name = "peterl"
        Calling-Station-Id = "97424222"
        User-Password = "\331u[:\273\251.\305\315\025Pvs/+\273"
        Service-Type = Framed-User
        Framed-Protocol = PPP
rlm_sql: Reserving sql socket id: 4
rlm_sql: User DEFAULT not found and DEFAULT not found
rlm_sql: Released sql socket id: 4

It can read the username from NAS, but why the username changes to DEFAULT when talking to mySQL?

Thanks.

Reply via email to