Chap-password to User-password

Alan DeKok aland at deployingradius.com
Mon Aug 20 15:23:49 CEST 2007


Carl aniams wrote:
> I installed freeradius 1.1.6 with mysql for storing users login.
> i created some users  through dialup admin page and had their password
> stored in User-password attribute.(i checked in the database select from
> radcheck)

  As of 1.1.5, it should be in Cleartext-Password.  See the README.

> when i fire up radius in debug i notice that there is a CHAP challenge
> and the password is in a CHAP-password format 

  Because that's what the client sends.  If you don't want to use CHAP,
fix the client.

> rlm_chap:login attempt by username with CHAP password
> rlm_chap: using clear text password 'mypass' for user username
> authentication
> rlm_chap: passxord check failed

  You don't have the same password on the client as you have on the server.

> I would like to stop the put my password in User-password rather than
> CHAP-password, but don't know how it should be done.

  Fix the client to send User-Password.

  Alan DeKok.



More information about the Freeradius-Users mailing list