Calling radius_exec_program() with request set to NULL
Isaac Boukris
iboukris at gmail.com
Mon Apr 9 13:46:47 CEST 2018
Hello friends,
The comment above it suggests it should be possible to call
'radius_exec_program()' without a request (like at server
instantiation):
https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/src/main/exec.c#L516
However, it currently doesn't even let me compile with a NULL request,
due to nonull expectation.
Would it make sense to fix it, and allow NULL request, or is there a
way around it?
It works ok with the patch below, though I am not sure what's the
correct substitute for all the RDEBUG / RERROR occurrences, see:
https://github.com/frenche/freeradius-server/commit/8929b28bd8a4186d2d77226057af8abf9935106f
Thanks!
More information about the Freeradius-Users
mailing list