freeradius has a problem with md5 hash value

Solution Unverified - Updated -

Issue

The md5 hash value doesn't match with what I have created with md5sum command.

It's created as below.

# echo "XYZ12345" | md5sum | cut -f1 -d' '
5648e6786fb1f197fa1f147f0f9f8caf

The following tester user is configured in /etc/raddb/users.

tester           MD5-Password := "5648e6786fb1f197fa1f147f0f9f8caf"
                 Service-Type = "Authenticate-Only",
                 Login-LAT-Group = "config"

Test with radtest, and the authentication was rejected with a message "rad_recv: Access-Reject packet from host ....".

Environment

Red Hat Enterprise Linux 6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.