mschap and users file

Phil Mayers p.mayers at imperial.ac.uk
Thu Jan 19 18:07:50 CET 2006


André Lemos wrote:
> Right now I'm only using mschap and the users file to authenticate a
> user, but I'm getting:
> 
>   modcall: entering group Auth-Type for request 7
>   rlm_mschap: No User-Password configured.  Cannot create LM-Password.
>   rlm_mschap: No User-Password configured.  Cannot create NT-Password.
>   rlm_mschap: Told to do MS-CHAPv2 for wifi with NT-Password
>   rlm_mschap: FAILED: No NT/LM-Password.  Cannot perform authentication.
>   rlm_mschap: FAILED: MS-CHAP2-Response is incorrect
> 
> although on my users file I have:
> 
> "wifi"          Crypt-Password == "BcFvDSx8ydTSk"
> "wifi"          lmPassword == "02D093CE93078E8FAAD3B435B51404EE"
> "wifi"          ntPassword == "CAF13C4F321B608B27FD75D2549BA53C"
> 
> 
> can't I have my users file only with encrypted passwords?

Wrong syntax. You want:

wifi	Crypt-Password := "blah", NT-Password := "foo"

Note that the := operator is used to set, and all the configure items 
are on the same line.

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




More information about the Freeradius-Users mailing list