Calling radius_exec_program() with request set to NULL

Isaac Boukris iboukris at
Mon Apr 9 15:16:07 CEST 2018

Hi Alan,

On Mon, Apr 9, 2018, 15:03 Alan DeKok <aland at> wrote:

> On Apr 9, 2018, at 7:46 AM, Isaac Boukris <iboukris at> wrote:
> >
> > The comment above it suggests it should be possible to call
> > 'radius_exec_program()' without a request (like at server
> > instantiation):
> >
>   It's possible.  I'm not sure how useful it is.
> > 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?
>   What is it needed for?  I'd prefer to add patches because they're useful
> *now*, not useful some time in the future.
>   Alan DeKok.

I'm trying to add logic to allow initializing krb5 credentials when needed
for LDAP connections, via an external script.

My understanding is that sometimes the server would open several initial
connections to the LDAP server where it isn't running in a context of a
given request.



More information about the Freeradius-Users mailing list