31 Jul
2008
31 Jul
'08
9:19 a.m.
Phil Mayers wrote:
I've had a dig in the guts of radius_xlat (yikes, complex) and done some testing with "user\random" e.g.:
update reply { # works My-Attr-1 = "%{User-Name}"
How is that different from %{request:User-Name}, which didn't seem to work?
# fails, "user\random" turns to "user<cr>andom" My-Attr-1 = "%{SQL-User-Name}"
I'd like to see the debug output... The SQL-User-Name should be set to *exactly* "user\random". MAYBE the problem is that instead, it's set to "user<cr>andom". Knowing *where* the problem occurs would be useful. i.e. I don't think it's in the expansion of "%{foo}", and assignment to My-Attr-1. If it was, then "%{User-Name}" wouldn't work, either. Alan DeKok.