Maja Wolniewicz mgw at
Thu May 16 14:42:23 CEST 2013

W dniu 15.05.2013 18:40, Alan DeKok pisze:
> Jakob Hirsch wrote:
>> So the OP's assignment
>> "%{md5:${policy.cui_hash_key}%{tolower:%{User-Name}}%{%{Operator-Name}:-}}"
>> could simply rewritten to this?
>> "%{md5:${policy.cui_hash_key}%{tolower:%{User-Name}}%{Operator-Name}}"
>   Yes.
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)


where cui_hash_key is changeme, User-Name is someone at somewhere

is expanded as changemesomeone at somewere_

expand: 'changeme%{tolower:%{User-Name}}%{Operator-Name}' ->
'changemesomeone at somewere_'

the same is when I have
expand: 'changeme%{tolower:%{User-Name}}%{%{Operator-Name}:-aaa}' ->
'changemesomeone at somewere_'

It seems that Operator-Name is set then to _


>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See

Maja Gorecka-Wolniewicz          mgw at
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3393 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <>

More information about the Freeradius-Devel mailing list