Hello list i have a problem with ms-chap and mysql
Error is modcall[authorize]: module "sql" returns ok for request 0
rlm_mschap: Found MS-CHAP attributes. Setting 'Auth-Type := MS-CHAP'
modcall[authorize]: module "mschap" returns ok for request 0
modcall: group authorize returns ok for request 0
rad_check_password: Found Auth-Type MS-CHAP
auth: type "MS-CHAP"
modcall: entering group Auth-Type for request 0
rlm_mschap: doing MS-CHAPv2 with NT-Password
rlm_mschap: FAILED: MS-CHAP2-Response is incorrect
modcall[authenticate]: module "mschap" returns reject for request 0
modcall: group Auth-Type returns reject for request 0
auth: Failed to validate the user.
Login incorrect: [test/<no User-Password attribute>] (from client localhost
port 0)
my radius.conf is
authenticate {
Auth-Type MS-CHAP {
mschap
}
}preacct {
preprocess
suffix
files
}
accounting {
acct_unique
detail
sql
}
session {
sql
}
in my users file
DEFAULT Auth-Type := MS-CHAP
Fall-Through = 1
mysql database:
+----+----------+-----------+----+---------+
| id | UserName | Attribute | op | Value |
+----+----------+-----------+----+---------+
| 1 | test | Password | == | test123 |
+----+----------+-+----+-----------+--------------------+----+---------------------+------+
| id | GroupName | Attribute | op | Value | prio |
+----+-----------+--------------------+----+---------------------+------+
| 1 | static | Auth-Type | := | Local | 0 |
| 4 | static | Framed-Compression | = | Van-Jacobsen-TCP-IP | 0 |
| 3 | static | Service-Type | = | Framed-User | 0 |
| 2 | static | Framed-Protocol | = | PPP | 0 |
+----+-----------+--------------------+----+---------------------+------+----------+----+---------+
+----+----------+-----------+
| id | UserName | GroupName |
+----+----------+-----------+
| 1 | test | static |
+----+----------+-----------+
what i must to do ?
Best Regards
--
Aii Data Processing
System Administrator
IT Department
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html