Phil Mayers wrote: ... > expand: %{Stripped-User-Name:-%{User-Name:-none}} -> IC\rmtw > rlm_sql (sql): sql_set_user escaped user --> 'IC\rmtw' > expand: select '%{SQL-User-Name}' -> select 'IC=0Dmtww' ... > ...so maybe it's the bit that handles xlatname:string?
I think it's the "sql_set_user" function. It should create the SQL-User-Name attribute, and then copy the text string *verbatim*. It's the extra layer of parsing through pairmake() that's turning \r into a CR. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html