RE: execute programme when receiving account packet
Hi i've try exec { wait = yes program = "/bin/sh /opt/mytest %{User-Name}" input_pairs = request output_pairs = reply shell_escape = yes output = none } The program is execute but only for access-request. Regards. -----Message d'origine----- De : freeradius-users-bounces+mamadou.toure=vipnet.ci@lists.freeradius.org [mailto:freeradius-users-bounces+mamadou.toure=vipnet.ci@lists.freeradius.or g] De la part de Toure Mamadou Envoyé : lundi 24 mai 2010 22:06 À : freeradius-users@lists.freeradius.org Objet : execute programme when receiving account packet Hi, All i'd like to execute an external program when receiving an Accounting-Request. I've try exec ipoque { wait = yes program = "/bin/sh /opt/mytest %{User-Name}" input_pairs = request output_pairs = reply shell_escape = yes output = none packet_type = Accounting-Request } But the program is not execute even if I comment packet_type = Accounting-Request line (#packet_type = Accounting-Request). Can someone help me please. Regards. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (1)
-
Toure Mamadou