Hello Arran, thanks a lot for your response but where i must put this code? in rediswho file? under /raddb/mods-enabled or in sites-enabled/default section authorize? Regards, Bassem 2018-02-23 12:23 GMT+01:00 Arran Cudbard-Bell <a.cudbardb@freeradius.org>:
On Feb 23, 2018, at 4:40 PM, Bassem Mettichi <mettichi@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@freeradius.org> FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html