Redis in Freeradius v4
Miguel Berniz
mberniz at gibfibre.com
Mon Jan 22 18:58:03 UTC 2024
Alan,
Thank you very much for sharing those resources, it’s much appreciated.
It’s an awesome job behind the 4.0 release.
PD: Somehow I didn’t get an email with your answer (only the digest later) so I couldn’t reply over your message.
Kindest regards,
From: Miguel Berniz <mberniz at gibfibre.com>
Date: Sunday, 21 January 2024 at 05:27
To: freeradius-users at lists.freeradius.org <freeradius-users at lists.freeradius.org>
Subject: Re: Redis in Freeradius v4
I can answer myself after some tests:
#
# ### Receive Access-Request packets
#
recv Access-Request {
update control {
&Password.cleartext := %redis(hget, radcheck:%{User-Name}, Cleartext-Password)
}
From: Miguel Berniz <mberniz at gibfibre.com>
Date: Sunday, 21 January 2024 at 03:41
To: freeradius-users at lists.freeradius.org <freeradius-users at lists.freeradius.org>
Subject: Redis in Freeradius v4
Hi,
I was using redis module for authentication using this in authorization section of the default site:
update control {
Cleartext-Password := "%{redis:hget radcheck:%{User-Name} \"Cleartext-Password\"}"
}
However, this no longer works in FreeRADIUS version 4.0.32319 (git #f7582607)
What would be the new mechanism to achieve above?
I am trying to move to v4 because the redis sqlippool module.
Thanks in advance.
Miguel
This message is intended only for the use of the individual to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the sender and deleting the original document.
More information about the Freeradius-Users
mailing list