Frreradius PAP and CHAP

Clark J. Wang dearvoid at gmail.com
Wed Jun 20 04:43:57 CEST 2007


On 6/20/07, hao chen <chenhao602 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070620/673f14de/attachment.html>


More information about the Freeradius-Users mailing list