Re: Return values for rlm_exec scripts

2007-01-11 Thread Thor Spruyt
Garry Glendown wrote: Thor Spruyt wrote: Session-Timeout := `%{exec:/bin/echo 200}` I use exec_program_wait, try having a look at that. ... which doesn't return a value if I'm not mistaken ... !? It can return several Attribute-Value pairs. Read the documentation, search google and

Re: Return values for rlm_exec scripts

2007-01-10 Thread Thor Spruyt
Garry Glendown wrote: Garry Glendown wrote: Hi, I'm trying to configure dynamic values in the users-file, which works fine using the rlm_expr module. Anyway, due to some more complicated expressions that can not be formed using rlm_expr, I tried to set up an external script that will return

Re: Return values for rlm_exec scripts

2007-01-09 Thread Garry Glendown
Garry Glendown wrote: Hi, I'm trying to configure dynamic values in the users-file, which works fine using the rlm_expr module. Anyway, due to some more complicated expressions that can not be formed using rlm_expr, I tried to set up an external script that will return the value I need ...

Return values for rlm_exec scripts

2007-01-08 Thread Garry Glendown
Hi, I'm trying to configure dynamic values in the users-file, which works fine using the rlm_expr module. Anyway, due to some more complicated expressions that can not be formed using rlm_expr, I tried to set up an external script that will return the value I need ... only problem is: I