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

Reyes Jimenez Alfonso Alejandro aareyesj at bestel.com.mx
Mon Apr 23 23:23:45 CEST 2012


Thanks Mathew I will check that out.

regards.


Alfonso.

On Apr 23, 2012, at 3:14 PM, Matthew Newton wrote:

> 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>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

#####################################################################################

El contenido de este mensaje es confidencial. Si usted ha recibido este mensaje por error, le ruego que no lo reenvíe y lo borre inmediatamente.

The contents of this message are confidential. If message has been received in error, please do not forward and destroy immediately. 

#####################################################################################


More information about the Freeradius-Users mailing list