expiration module and reply items

Ana Gallardo ana.gallardo.77 at gmail.com
Fri Jun 4 10:05:04 CEST 2010


Thanks a lot.

>     Reply-Message = "LA CUENTA HA EXPIRADO PARA
> > %{%{Stripped-User-Name}:-%{User-Name}}"
> >     Codigo-Reject := Cuenta-Expirada
> > }
> >
> > But it doesn't work.
>
>   Nothing in the documentation suggests that will work.
>

Sometimes I don't know where can I found what I'm looking for, so I try
different things :)


> Yes.  Once the module returns "reject" or "userlock", the server stops
> processing the section and returns.  The solution is:
>
>        expiration {
>                userlock = 1
>        }
>        if (userlock) {
>                update reply {
>                        Codigo-Reject := Curenta-Expirada
>                }
>        }
>
>  This is documented in doc/configurable_failover, and to a lesser
> extent in "man unlang".
>

Thanks Alan, I love Freeradius and your answers :D

____________________

 Ana Gallardo Gómez
____________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100604/9e776c8f/attachment.html>


More information about the Freeradius-Users mailing list