hello,everyone,
I have written a client which send RADIUS packet to my freeradius server.There is problem about the PAP,like this:
......
modcall: group authorize returns ok for request 0
auth: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 86 to 222.28.113.244:1174

.......

I have check the radiusd.conf and find the configuration like this:
.......
# MODULE CONFIGURATION
modules {
pap {
                encryption_scheme = md5
        }
chap {
                authtype = CHAP
        }
pam {
                   pam_auth = radiusd
        }
unix {
                cache = no
                cache_reload = 600
                radwtmp = ${logdir}/radwtmp
        }
eap {
                default_eap_type = md5
                timer_expire     = 60
                md5 {
                }
        }
mschap {
               authtype = MS-CHAP
         }
}
......
#  Authorization
authorize {
        preprocess
}
....
# Authentication.
authenticate {
        Auth-Type PAP {
                pap
        }
}

I don't whether I forget the PAP config and where to add the configure.

Can anyone help me?

thank you all so much~~


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

Reply via email to