rlm_rediswho with spaces

Brian Candler B.Candler at pobox.com
Fri Oct 26 22:25:55 CEST 2012


>   My $0.02 is to do what src/main/exec.c does.  Pass the *raw* query
> string into rlm_redis_query.  It then splits the string into argv, and
> calls radius_xlat() on each one.  It then passes the argv array to
> redisCommand.

I'll see if I can rework this; I think it will involve changing redis_query
to take an argv/argc set of arguments instead of a char* query.

FWIW, I also found another problem, which is that the TRIM command was never
being called.  There's a fix for that on my branch now, but it'll get
rebased when I sort the other issue.

Regards,

Brian.


More information about the Freeradius-Devel mailing list