authorize redis

Arran Cudbard-Bell a.cudbardb at freeradius.org
Fri Feb 23 12:23:02 CET 2018



> On Feb 23, 2018, at 4:40 PM, Bassem Mettichi <mettichi at gmail.com> wrote:
> 
> Hello,
> 
> is it possible add authorize method  to rlm_rediswho module? i don't have
> good knowledge in C/C++ developpement  but i will be a good idea if someone
> could add for example another command select like insert, trim.

There's a redis xlat already in v3 and v4 which you can use to execute custom redis commands.

if (%{redis:GET foo}" == 'bar') {
	...
}

-Arran


Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 874 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20180223/c74d6966/attachment.sig>


More information about the Freeradius-Users mailing list