"Chris Knipe" <[EMAIL PROTECTED]> wrote:
> I want to use PAP and CHAP authentication... Basically, a user should be
> able to authenticate using PAP or CHAP...

  The server does this by default.  Read the FAQ, and do the tests it
says for 'bob'.  Then use 'radclient' to send a similar request, with
Chap-Password = "bob".  Both should work.

> I've created a group attribute
> request (Auth-Type := PAP as well as Auth-Type := CHAP).  However,
> Freeradius only takes the first one it gets from the database (PAP), and
> disregards the CHAP.

  Yes, you've changed the default config to pick only one.

> I know this is stupid, but I am presuming that Auth-Type is sent from the
> NAS to the Radius server in any case?

  No.  The server decides what to do.

>  How can do I get freeradius to accept both password types?

  Don't do anything to the default config, except add a test user as
in the FAQ.  Send a request with a CHAP-Password, and it will work.

  Alan DeKok.

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

Reply via email to