Re: chap requests and users file

2006-12-17 Thread Alan DeKok
Thor Spruyt wrote:

> Normally I have entries like this:
> ausernameAuth-Type := Local, User-Password == "apassword"

  Don't use Auth-Type.

  Use ':=', not '=='.

user  User-Password := "password"

  This will let PAP work, CHAP, MSCHAP, etc.  See:

http://deployingradius.com/documents/configuration/pap.html

> I actually need a method to let both PAP and CHAP succeed, it's up to
> the user to decide what to use.

  Tell the server what the "known good" password is, and the server will
figure out the rest.

  I have a patch pending for 1.1.4 that adds "Cleartext-Password", and
removes much of the confusion around putting User-Password in the
"users" file, or other places in the configuration.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


chap requests and users file

2006-12-17 Thread Thor Spruyt

Hi,

I was wondering how I should create an entry in the users file for a user 
that authenticates with CHAP.


Normally I have entries like this:
ausernameAuth-Type := Local, User-Password == "apassword"

This works for PAP requests, but is it also fine for CHAP?

I actually need a method to let both PAP and CHAP succeed, it's up to the 
user to decide what to use.


--
Thor Spruyt
M: +32 475 67 22 65
E: [EMAIL PROTECTED]
W: www.thor-spruyt.com

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Faisal Butt is out of the office.

2006-12-17 Thread Faisal Butt

I will be out of the office starting  12/17/2006 and will not return until
12/26/2006.

Please send all your queries to [EMAIL PROTECTED]
For any technical support, please send your emails to
[EMAIL PROTECTED]

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html