Red Cayenne <[EMAIL PROTECTED]> wrote:
> Thanks, this got me going. I got a clue that radius_xlat should call
> itself to do the substitution,  however I'm uncertain how to do this.

  I mean that your sql xlat function needs to call radius_xlat, too.
How else will it expand the variables passed to your function?

> I'm executing test_query using "%{sql:%{config:modules.sql.test_query}}". 

  Print out the string that gets passed to your sql xlat function. It
will be "%{config:modules.sql.test_query}".

  Please also READ the original sql_xlat function.  It explains this
in the comments!

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to