ASSERT FAILED

Maja Wolniewicz mgw at umk.pl
Mon May 13 16:23:22 CEST 2013


W dniu 13.05.2013 15:07, Alan DeKok pisze:
> Maja Wolniewicz wrote:
>> When I put something like that into unlang rules:
>>
>> %{%{Operator-Name}:-}
>   That should be a parse error.
>
>> my server fails with
>> ASSERT FAILED src/main/xlat.c[1509]: node->alternate != NULL
>>
>> The same is with other attribute names.
>> When I put non empty default  value all goes smoothly.
>   The solution is to do a "git pull", and re-build.  I've just pushed a fix.
Thanks.

Now 

update reply {
Chargeable-User-Identity =
"%{md5:${policy.cui_hash_key}%{tolower:%{User-Name}}%{%{Operator-Name}:-}}"
}

produces
(10) ERROR: %{md5:changeme%{tolower:%{User-Name}}%{%{Operator-Name}:-}}
(10) ERROR:                                                         ^
Empty expansion is invalid

is it right behaviour?
It works in FR2.

Maja
>
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3393 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20130513/8cf62b6b/attachment-0001.bin>


More information about the Freeradius-Devel mailing list