Re: Chap authentication



On Thursday 14 December 2006 07:12, fjlagos@vtr.net wrote:
> How can i set a basic CHAP authentication? What parameters and files i must
> set?

The default freeradius config supports CHAP, so all you need to supply is a 
password for the user.  According to [1], CHAP requires the cleartext 
password.

> Can you send me an example?

A users file example with the default freeradius 1.1.3 config would be:

  userX  User-Password := "secretpass"

To test CHAP auth, run the following.

  ( echo 'User-Name = "userX"'; echo 'CHAP-Password = "secretpass"' ) | 
radclient your.radius.server:1812 auth your_secret

Kevin Bonner

[1] http://deployingradius.com/documents/protocols/compatibility.html

Attachment: pgpKcGdQ0iYyt.pgp
Description: PGP signature



This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.