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

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

Reply via email to