Problem using hased passwords

Alan DeKok aland at deployingradius.com
Fri Jun 30 12:02:19 UTC 2023


On Jun 30, 2023, at 7:59 AM, Michael Schwartzkopff via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> Thanks. That solved the problem. I calculated the SHA sum for my password incorrect.

  OK.  I'll try to track down why that happens.

> Next question: How can I define a salted hash password in the users file? I did not find anything useful in the docs.
> 
> openssl passwd -5 -salt salt hello
> $5$salt$ZYXsK0pxpaRWBUweKuToC90TC/15c9Iz8u3SGLTaS4D
> 
> 
> How can I enter this string as password in FR? What attribute do I assign it? The Password-With-Header complains, because there is no {...} header.  SSHA-Password? Will FR interpete  $5$salt$.... correctly?

  SSHA1-Password should work.  FreeRADIUS will hand the salt stuff to the various crypto libraries, which will Do The Right Thing.

  Alan DeKok.



More information about the Freeradius-Users mailing list