How to use CHAP?

Alan DeKok aland at deployingradius.com
Wed Jun 9 11:56:58 CEST 2010


Karuna G. Kumar wrote:
> I want to use CHAP for authenticating the user. When I am sending CHAP-Password to FreeRADIUS, I am getting the following error.
> 
> Found Auth-Type = CHAP
> +- entering group CHAP {...}
> [chap] rlm_chap: password supplied has wrong length

  Your RADIUS client does not implement RADIUS.
...
> 	CHAP-Password = 0x74657374696e67

  It is sending *ASCII* for the CHAP-Password.  It needs to implement
the CHAP protocol.

  Use a real RADIUS client, like radclient.

  Alan DeKok.



More information about the Freeradius-Users mailing list