Sorry For missunderstand

Alan DeKok aland at deployingradius.com
Tue Dec 14 16:00:32 CET 2021


On Dec 14, 2021, at 9:12 AM, mohamed almeshal <mohammed.almeshal at hotmail.com> wrote:
> I think I miss the parameters (module mean for me the section like Authorize Authintcate ... etc )
> what I'm asking about is I need to build custom unlag like the condition in expiration module  like this :
> 
> expiration {
> userlock = 1
> }
> 
> if (userlock) {
> update reply {
> Reply-Message += "Account expired"
> }
> 
> userlock
> }
> 
> expire_on_login
> sql_session_timeout
> sql_octets_limit
> 
> What I'm need is to put custom if condition in each module that reject the user for hotspot message and I wonder if I can use the userlock in every module like the expiration .

  Yes.  Just... try it and see.

> Also about the loop what I'm going to do is just use exec to and get it work fine with php,
> 
> but please what is the best way to write exec statments .

  There's a ton of documentation on this.  See mods-available/exec, and mods-available/echo

  Alan DeKok.




More information about the Freeradius-Users mailing list