Request Items, Config/control Items; rlm_sql

Phil Mayers p.mayers at imperial.ac.uk
Tue Jul 21 11:37:06 CEST 2009


Michael Bryant wrote:
> I'm confused, how can I use unlang halfway through the processing of the rlm_sql
> module?

You can't. You'd need to do 2 queries e.g.

authorize {
   update request {
     Tmp-String=0 = "%{sql:select ...}"
   }
   sql
}

...and have your radgroupcheck match the Tmp-String-0 you've just added 
to the request.



More information about the Freeradius-Users mailing list