Hello Pedro,
Tuesday, June 04, 2002, 12:29:38 AM, you wrote:
GP> Could you tell me how to activate MS-CHAP authentication?
Look at my configs
I have dialup users with PAP and PPTP users with MSCHAP
radiusd.conf
# Microsoft CHAP authentication
mschap {
authtype = MS-CHAP
}
pap {
encryption_scheme = crypt
}
authorize {
preprocess
suffix
sql
monthlycounter
mschap
}
authenticate {
unix
mschap
authtype PAP {
pap
}
}
preacct {
preprocess
suffix
files
}
accounting {
acct_unique
detail
sql
radutmp
}
session {
sql
radutmp
}
In sql.conf change
authenticate_query = "SELECT Value,Attribute FROM ${authcheck_table} WHERE UserName =
'%{User-Name}' AND ( Attribute = 'User-Password' OR Attribute = 'Password' OR
Attribute = 'Crypt-Password' OR Attribute = 'NT-Password') ORDER BY Attribute DESC"
>select id,UserName,Attribute,Value,op from radcheck where UserName='q1test';
+-----+----------+-------------+----------------------------------+------+
| id | UserName | Attribute | Value | op |
+-----+----------+-------------+----------------------------------+------+
| 310 | q1test | NT-Password | 2D20D252A479F485CDF5E171D93985BF | := |
+-----+----------+-------------+----------------------------------+------+
1 row in set (0.00 sec)
--
Best regards,
rust mailto:[EMAIL PROTECTED]
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html