On 6/20/07, hao chen <chenhao602@gmail.com> wrote:
 
Hi,
 
 I tryed as you said. But it seems I still miss something.
$cat /usr/local/etc/raddb/users
.....
John    Auth-Type := CHAP, CHAP-Password == "hello"
.......

Here, you should use `User-Password' other than `CHAP-Password'.

$ cat request.txt
User-Name = John
CHAP-Password = hello
 
$radiusd -X
 
......
 
call_modsingle: chap
rlm_chap: login attempt by "John" with CHAP password ?谟??1?kW将芇?
rlm_chap: Could not find clear text password for user John
  modcall[authenticate]: module "chap" returns invalid
 
......
 
Any suggestion?Thank you.
 
--chenhao