W dniu 16.05.2013 23:44, Alan DeKok pisze:
Maja Wolniewicz wrote:
I'm still having trouble with it. It works correctly when Operator-Name is set, but when Operator-Name is unset (it does not appear in Access-Request packets)
${policy.cui_hash_key}%{tolower:%{User-Name}}%{Operator-Name}
where cui_hash_key is changeme, User-Name is someone@somewhere
is expanded as changemesomeone@somewere_ Hmm... I guess you'll have to use %{%{Operator-Name}:-} Today with last git version the sever dies while parsing it.
Maja
I'll make sure that works for v3.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
-- Maja Gorecka-Wolniewicz mgw@umk.pl Uczelniane Centrum Information & Communication Informatyczne Technology Centre Uniwersytet Mikolaja Kopernika Nicolaus Copernicus University Coll. Maximum, pl. Rapackiego 1, 87-100 Torun, Poland tel.: +48 56-611-27-40 fax: +48 56-622-18-50 tel. kom.: +48-693032574