[ANN] Version 3.0.0-rc0
Alan DeKok
aland at deployingradius.com
Tue Jul 16 15:15:52 CEST 2013
Stefan Winter wrote:
> (0) ERROR: %{#User-Password}
> (0) ERROR: ^ Unknown attribute
> (0) ERROR: Evaluation of condition failed for some reason.
> (0) else else {
> (0) - entering else else {...}
>
> Earlier, this would yield the number of characters in the incoming
> request's User-Password attribute, and see if it's exactly 96 Bytes.
>
> I don't know why the # triggers an "unknown attribute"? Looks like a bug
> to me...
That code was removed because it was horrid.
I've pushed a fix, including fixes to documentation.
Use %{strlen:...} instead.
Alan DeKok.
More information about the Freeradius-Users
mailing list