Kostas Kalevras <[EMAIL PROTECTED]> wrote:
> You could just use the latest CVS snapshots with sql_xlat. Something like this
> in the users file:
> 
> DEFAULT       Service-Type == Framed-User, NAS-IP-Address == 123.123.123.123
>       Framed-IP-Address = "%{sql: SELECT FramedIPAddress FROM radcheck WHERE
> UserName = '%u'}"

  That's Framed-IP-Address = `%{sql:...}`

  The back-quotes signal that the variable substitution is done.
Otherwise, it's just a string with %{sql..} in it.

  Alan DeKok.

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

Reply via email to