Version 2.2.2 has been released
Jakob Hirsch
jh at plonk.de
Mon Nov 4 18:40:40 CET 2013
Hi,
sorry, I found another unlang oddity regarding return codes.
A simple auth section like this:
> Auth-Type Test {
> updated
> ok
> }
reject the user:
> Found Auth-Type = Test
> # Executing group from file [...]
> +group Test {
> ++[updated] = updated
> ++[ok] = ok
> +} # group Test = updated
> Failed to authenticate the user.
So the "ok" gets processed, but the final return code is "updated",
which makes FreeRADIUS reject the request, where it should be accepted
(to my understanding).
Inserting another "ok" before the "updated" won't help:
> Found Auth-Type = Test
> # Executing group from file [...]
> +group Test {
> ++[ok] = ok
> ++[updated] = updated
> ++[ok] = ok
> +} # group Test = updated
> Failed to authenticate the user.
Regards
Jakob
More information about the Freeradius-Devel
mailing list