Re: RES: exec program, but post-auth

2008-11-04 Thread Alexandre J. Correa - Onda Internet

Thanks for answers,

i obtained ip, acctound-id, etc etc from preacct section, adding exec to 
section !! script filter with Acct-Status-Type = Start working fine now !!


Ivan, in it´s first message i didn´t read to try with accouting packets !!

thanks again !!

Regards..

[EMAIL PROTECTED] wrote:
Here i use Exec-Program-Wait to validade data AFTER auth OK, i need to 
execute other script AFTER auth OK to get IP address assigned to user.


i´m trying to pass %f to my script but return "?.?.?.?" because at this 
moment, radius not assigned  ip for user...


how i can do this ?




Where is "here"? In what section are you trying to run the script?

Ivan Kalik
Kalik Informatika ISP

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

  



--
Sds.

Alexandre Jeronimo Correa

Onda Internet - http://www.ondainternet.com.br
OPinguim Hosting - http://www.opinguim.net

Linux User ID #142329

UNOTEL S/A - http://www.unotel.com.br

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: RES: exec program, but post-auth

2008-11-04 Thread tnt
>Here i use Exec-Program-Wait to validade data AFTER auth OK, i need to 
>execute other script AFTER auth OK to get IP address assigned to user.
>
>i´m trying to pass %f to my script but return "?.?.?.?" because at this 
>moment, radius not assigned  ip for user...
>
>how i can do this ?
>

Where is "here"? In what section are you trying to run the script?

Ivan Kalik
Kalik Informatika ISP

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html