I cannot seem to get both PAP and CHAP to work at the same time - I can get
either to work but not both.
I have what I believe is a reasonably common setup:
ISP (I need to support the common PPP auth methods for Internet access)
NAS: Ascend 4048
MySQL user database (with a clear test password stored as attribute
'Password'
With the present config chap works OK.
A PAP request produces the following error
User-Name = "someuse"
User-Password =
"H\311\002\351\251\220f\245\274\270\364\374\325\010\304N
"
NAS-IP-Address = 67.98.104.246
NAS-Port = 20101
NAS-Port-Type = Async
State = 0x
Called-Station-Id = "3230020"
Framed-IP-Address = 67.98.106.48
Acct-Session-Id = "385070689"
rlm_chap: Could not find proper Chap-Password attribute in request
rlm_sql: Reserving sql socket id: 3
rlm_sql: Released sql socket id: 3
rlm_chap: Attribute "CHAP-Password" is required for authentication. Cannot
use "
User-Password".
Sending Access-Reject of id 201 to 67.98.104.246:1025
I have the following in the 'users' file:
DEFAULT Auth-Type := PAP
Fall-Through = 1
DEFAULT Auth-Type := CHAP
Fall-Through = 1
The following is an output from radiusd -x (which indicates the radius.conf
setup)
...
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded PAP
Module: Instantiated pap (pap)
Module: Loaded preprocess
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
Module: Instantiated realm (suffix)
Module: Loaded SQL
...
I have RTFM till I am BIFF! :) and still don't know what's wrong
Anybody know what's wrong? If anybody using a similar configuration would
send me their radiusd.conf and appropriate sections of the users file, I
would be very appreciative.
Thanks - Tim
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html