> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:freeradius-users-admin@;lists.cistron.nl]On Behalf Of Alan DeKok
> Sent: Saturday, October 26, 2002 12:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: PAP & CHAP won't work together
>
>
> "Tim D. McCracken" <[EMAIL PROTECTED]> wrote:
> > I cannot seem to get both PAP and CHAP to work at the same time
> - I can get
> > either to work but not both.
>
>   There shouldn't be any problem if the server is configured
> correctly.
>

I am sure the server will do it.  I just can get it to work right.


> > I have the following in the 'users' file:
> >
> > DEFAULT Auth-Type := PAP
> >         Fall-Through = 1
> > DEFAULT Auth-Type := CHAP
> >         Fall-Through = 1
>
>   Do 'man 5 users'.  Read it.
>

It doesn't work on the machine I built and tested it on.
It says "no entry for 5" and pulls up the unix 'users' command

I took out the chap entry above.


>   You're telling the server to always do PAP authentication, and then
> to forget that, and always do CHAP authentication.  That doesn't make
> any sense.
>
>   The server should come already configured to do both PAP and CHAP.
> Read the radiusd.conf file for more details.
>
>   Alan DeKok.
>

I have read and re-read radiusd.conf.  I still don't understand it all. All
of the chap and most of the pap entries are commented out in the build
version. I uncomment the chap stuff, and then I get this error:

ERROR: Cannot find a configuration entry for module "chap".

so I add this after PAP

chap {
Auth-type = CHAP
}

And it will start up OK.  But it still won't handle chap queries.
I always get the error that it can't use 'CHAP-Password'.

I know this is a good and very flexible system, and I know that it is just
that I still don't understand the configuration settings yet.  I have tried
lots of different things, all of which the system accepts without complaint
and none of which work.

With all the stuff commented out of radiusd.conf, how is it configured
automatically for PAP and CHAP?


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


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

Reply via email to