..::Change to MD5 passwords::..

Matthew Newton mcn4 at leicester.ac.uk
Mon Apr 23 22:14:41 CEST 2012


On Mon, Apr 23, 2012 at 12:48:33PM -0500, Reyes Jimenez Alfonso Alejandro wrote:
> bob Cleartext-Password := "Test" 
> 
> and we would like to use the following:
> 
> bob MD5-Password := "f43ed6ad2f43ea778b65557c626262ysu"

There are non-hex chars in that string, so it's never going to work.

> What changes do we need to do ir order to allow that kind of authentication, any ideas?

It works fine. Generate password:

$ echo -n Test | md5sum
0cbc6611f5540bd0809a388dc95a615b  -


Add to users:

bob		MD5-Password := "0cbc6611f5540bd0809a388dc95a615b"


Check:

$ radtest bob Test localhost 1 testing123
Sending Access-Request of id 73 to 127.0.0.1 port 1812
  User-Name = "bob"
  User-Password = "Test"
  NAS-IP-Address = 127.0.0.1
  NAS-Port = 1
  Message-Authenticator = 0x00000000000000000000000000000000
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=73, length=20

Cheers,

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Architect (UNIX and Networks), Network Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list