CHAP authentication + FreeRadius + SQL

Marcelo Freitas marcelocbf at comcast.net
Wed Feb 18 16:39:06 CET 2009


Hello,

I'm trying to authenticate users using CHAP and store the passwords in the SQL, but I'm having a hard time.

I checked past messages, but I still couldn't get it to work ... Below is my Access-Request packet

Wed Feb 18 12:31:04 2009
        Packet-Type = Access-Request
        NAS-Port-Type = Wireless-802.11
        Calling-Station-Id = "000E2EEB1D91"
        Called-Station-Id = "hotspot1"
        NAS-Port-Id = "wHotSpotB"
        User-Name = "admin2"
        NAS-Port = 2153775219
        Acct-Session-Id = "80600073"
        Framed-IP-Address = 10.5.50.253
        Mikrotik-Host-IP = 10.5.50.253
        CHAP-Challenge = 0x4f0299d5a5107ded915739e236f71e3c
        CHAP-Password = 0x606707e3411f443140573554283c987ca5
        Service-Type = Login-User
        WISPr-Logoff-URL = "http://10.5.50.1/logout"
        NAS-Identifier = "AP_HQ"
        NAS-IP-Address = 10.0.1.130

In MySQL I just have Cleartext-Password == admin2 for check items ... But I always get Access-Reject.

Before checking the past messages, I had already check items like Auth-Type := CHAP, Cleartext-Password == admin2; and also just CHAP-Password, but none of it worked ...

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090218/fcfe5c66/attachment.html>


More information about the Freeradius-Users mailing list