Re: MD5/Des Hashing

Dale E. Reed Jr. ( (no email) )
Wed, 12 Aug 1998 12:16:35 -0700

Greg Johnson Perry-Spencer wrote:
> The FreeBSD passwd file is MD5, this is why I find it strange that the two
> encrypted strings don't match. Is my assumption correct that all MD5
> encryption strings start with $1$? If so, when I run radius in debug mode
> and it displays the encrypted passwd it generates to match against the
> password in the Unix password file, why does it not start with $1$?

No. MD5 uses the first two characters as the salt for the encryption.
I'm not sure what the $1$ is. I wander if its a BSDism. Try removing
it from the password for one user and see if the auth works.

-- Dale E. Reed Jr.  (       IEA Software, Inc.      |  RadiusNT, Emerald, and NT FAQs Internet Solutions for Today  |