SV: how to set crypted password in 'users' file?
Phil Mayers
p.mayers at imperial.ac.uk
Fri Jan 27 16:17:04 CET 2006
Torkel Mathisen wrote:
>> "Min Qiu" <mqiu at globalinternetworking.com> wrote:
>>> However, cut and past the crypted password from /etc/shadow to
>>> the entry failed:
>>>
>>> mqiu Auth-Type := Local, User-Password ==
> "$1$CWOjXm2v$dzjrc385t1iQXMN0"
>> UseL Crypt-Password := "$1$CWOjXm...
>
>
> I'm using PEAP/MS-CHAPv2 for authentication. In the users file I only
> got the login name and a clear-text password.
>
> I really want to start using Crypt-Password, but didn't quite get that
> to work.
>
You cannot use the unix crypt password value for the MS-CHAP algorithm.
The MS-CHAP module requires either the MD4-based NT password hash, the
plaintext password from which it can derive the NT has, or callout to
Samba & domain membership.
More information about the Freeradius-Users
mailing list