rlm_chap: Attribute "CHAP-Password" is required for authentication

Alan DeKok aland at deployingradius.com
Sun Jul 6 21:56:22 CEST 2008


Slava wrote:
> When using radtest (or dial up access) there is no Attribute
> "CHAP-Password" and the user
> is not authenticated, however the same user is authenticated when
> connecting via VPN.
> What needs to be changed for dial-up to work?

  Don't set Auth-Type := CHAP.

  i.e. use the default configuration files.  Don't edit them to break
the server.

> rad_recv: Access-Request packet from host 127.0.0.1 port 59528, id=206,
> length=56
>        User-Name = "Olga1"
>        User-Password = "akrd24bf"
...
>  rad_check_password:  Found Auth-Type Chap

  The only way this happens is if you edited the default configuration
files to break them.  Don't do that.

  Maybe the PAM module is adding Auth-Type = CHAP.  It looks like you've
edited the source code to the PAM module, so all bets are off.

  The default configuration works.  Don't break it.

  Alan DeKok.



More information about the Freeradius-Users mailing list