At 07:25 PM 2/4/2004, Anton Blajev wrote:
Hello to all!

I've installed freeradius few hours ago.

I've configured it according to my need and tested it firstly with
radtest, it works just as expected, fine!

After that I've decided to test it how it works with in the real world,
so.... I've tryed logging in from a win98se machine (that used to work
with plain ppp.secret file just fine)

After trying out I got this error:
--------------------------------------------------------------------------------------
rad_recv: Access-Request packet from host 127.0.0.1:3975, id=112,
length=148
Thread 2 assigned request 2
--- Walking the entire request list ---
Threads: total/active/spare threads = 4/1/3
Nothing to do.  Sleeping until we see a request.
Thread 2 handling request 2, (1 handled so far)
        User-Name = "steve"
        Service-Type = Framed-User
        Framed-Protocol = PPP
        MS-CHAP-Challenge = 0x39363331393835353831343234303433
        MS-CHAP2-Response =
0x010407ccac6a99be8a4398fedf66beb0cfc00000000000000000ce27d9a5235ff6bf349a672c6d584f9987782bc2ad0690c4
        NAS-Identifier = "router.lozenetz.net"
        NAS-Port-Type = Virtual
modcall: entering group authorize for request 2
  modcall[authorize]: module "preprocess" returns ok for request 2
  rlm_mschap: Found MS-CHAP attributes.  Setting 'Auth-Type := MS-CHAP'
  modcall[authorize]: module "mschap" returns ok for request 2
    users: Matched DEFAULT at 152
    users: Matched DEFAULT at 171
    users: Matched DEFAULT at 183

Note that it is matching your DEFAULT entries, not the specific 'steve' entry.

--------------------------------
steve  Auth-Type := Local, User-Password == "testing"

Try removing the 'Auth-Type' from this line. Since you want to use MS-CHAP, you should let the MS-CHAP module detect and set the Auth-Type, as you are trying to override it here.

I've not used MS-CHAP myself, but from the debug you posted this appears
to be what is occuring.

-Chris
--
   \\\|||///  \          StarNet Inc.      \         Chris Parker
   \ ~   ~ /   \       WX *is* Wireless!    \   Director, Engineering
   | @   @ |    \   http://www.starnetwx.net \      (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
                  \ Wholesale Internet Services - http://www.megapop.net



- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to