Xlat Broken in SQL reply items.

2007-04-16 Thread Arran Cudbard-Bell
Sorry,
Another one for the list.

Dynamic expansion of reply items in SQL is broken
in current cvs head.

Reply-Message = Welcome %{User-Name} At wherever

Is printed as

Welcome %{User-Name} At wherever

Instead of Welcome Fluffy At Wherever.

Thanks,
Arran
-- 
Arran Cudbard-Bell ([EMAIL PROTECTED])
Authentication Authorisation  Accounting Officer
Infrastructure Services | ENG1 FF08
EXT:3900
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Xlat Broken in SQL reply items.

2007-04-16 Thread Nicolas Baradakis
Arran Cudbard-Bell wrote:

 Dynamic expansion of reply items in SQL is broken
 in current cvs head.
 
 Reply-Message = Welcome %{User-Name} At wherever

I'd suggest to try using back quotes in the table of reply items:
Reply-Message = `Welcome %{User-Name} At wherever`

-- 
Nicolas Baradakis

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


Re: Xlat Broken in SQL reply items.

2007-04-16 Thread Alan DeKok
Arran Cudbard-Bell wrote:
 Aha, so the significance of the back ticks is .
 That the string will be sent through radius_xlat ?

  Yes.  See doc/variables.txt, I believe.


 And this is true for reply attributes in all the 'files' processed files ?
 
 Or is this a special feature of rlm_sql ?

  It's part of the server core.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html