Unable to Authenticate users
Hi, I am planing to use freeradius for authentication for lan users. The following are the radcheck parameters: mysql> select * from radcheck; +----+----------+--------------------+----+------------------------------------+ | id | username | attribute | op | value | +----+----------+--------------------+----+------------------------------------+ | 17 | test1 | User-Password | := | $1$q79.qtrm$gD6D4znw2uBGIU0K3mt/1/ | | 9 | test | Cleartext-Password | := | password1234 | +----+----------+--------------------+----+------------------------------------+ 2 rows in set (0.00 sec) The user test can authenticate as it is clear text password but when i try to authenticate user test1 I got error like Found Auth-Type = CHAP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!! Replacing User-Password in config items with Cleartext-Password. !!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!! Please update your configuration so that the "known good" !!! !!! clear text password is in Cleartext-Password, and not in User-Password. !!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! and failed. I would like to implement password with encrypted as user test1. So, could you please help me how to resolve this issue. Thanking you, Regards, John
john decot wrote:
Hi,
I am planing to use freeradius for authentication for lan users. The following are the radcheck parameters:
mysql> select * from radcheck; +----+----------+--------------------+----+------------------------------------+ | id | username | attribute | op | value | +----+----------+--------------------+----+------------------------------------+ | 17 | test1 | User-Password | := | $1$q79.qtrm$gD6D4znw2uBGIU0K3mt/1/ |
The data is a Crypt-Password, not a User-Password.
| 9 | test | Cleartext-Password | := | password1234 | +----+----------+--------------------+----+------------------------------------+
Why the heck do you have *two* passwords? Just use Cleartext-Password. Alan DeKok.
Thanks for your reply Alan . --- On Fri, 12/17/10, Alan DeKok <aland@deployingradius.com> wrote: From: Alan DeKok <aland@deployingradius.com> Subject: Re: Unable to Authenticate users To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Date: Friday, December 17, 2010, 6:33 AM john decot wrote:
Hi, I am planing to use freeradius for authentication for lan users. The following are the radcheck parameters: mysql> select * from radcheck; +----+----------+--------------------+----+------------------------------------+ | id | username | attribute | op | value | +----+----------+--------------------+----+------------------------------------+ | 17 | test1 | User-Password | := | $1$q79.qtrm$gD6D4znw2uBGIU0K3mt/1/ |
The data is a Crypt-Password, not a User-Password.
| 9 | test | Cleartext-Password | := | password1234 | +----+----------+--------------------+----+------------------------------------+
Why the heck do you have *two* passwords? Just use Cleartext-Password. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
john decot