Re: Exec-Program-Wait problem

2009-04-22 Thread Alan DeKok
enid wrote: > to make it more precise, I'm trying to execute a script that checks the > users accounting (hours and minutes generated from radiusreport tool). And > when the users passes his limit he is then blocked access. The exec module can do that. > The "exec" module allows only this synta

Re: Exec-Program-Wait problem

2009-04-22 Thread enid
Thank you for your reply, to make it more precise, I'm trying to execute a script that checks the users accounting (hours and minutes generated from radiusreport tool). And when the users passes his limit he is then blocked access. The "exec" module allows only this syntax: Attribute-Name = `%{exe

Re: Exec-Program-Wait problem

2009-04-21 Thread Alan DeKok
enid wrote: > DEFAULT Simultaneous-Use := 1 > Idle-Timeout = 600, > Session-Timeout = 5400, > Framed-IP-Address = 255.255.255.254, > Framed-Compression = Van-Jacobson-TCP-IP, > Exec-Program-Wait = "/etc/freeradius/somescript", > Fall-Through = Yes >

Re: exec-program-wait problem with freeradius 2.0.3

2008-04-17 Thread Alan DeKok
Emmanuel Willems wrote: > Thank you for your feedback and sorry for the confusion. > The program is being executed and returning the correct result, but I > still can't authenticate. So... read the debug log, and fix all of the WARNINGs, errors, etc. Alan DeKok. - List info/subscribe/unsubscr

Re: exec-program-wait problem with freeradius 2.0.3

2008-04-16 Thread Emmanuel Willems
Thank you for your feedback and sorry for the confusion. The program is being executed and returning the correct result, but I still can't authenticate. I'm using EAP-TTLS-PAP to connect to a Cisco Aironet AP1200. Using the same sql db in freeradius 1.1.3 it works, but not with freeradius 2.0.3

Re: exec-program-wait problem with freeradius 2.0.3

2008-04-16 Thread Alan DeKok
Emmanuel Willems wrote: > Here is a relevant part of the debug log: ... >> Tue Apr 15 14:36:27 2008 : Auth: Login OK: [000d2885af3e/000d2885af3e] >> (from client wlan-sen port 737 cli 000d.2885.af3e) >> Tue Apr 15 14:36:27 2008 : Debug: +- entering group post-auth >> Tue Apr 15 14:36:27 2008 : Debu

Re: exec-program-wait problem with freeradius 2.0.3

2008-04-15 Thread Alan DeKok
Emmanuel Willems wrote: > I added exec in post-auth in sites-enabled/default and > sites-enabled/inner-tunnel and it's still no go. > Did i miss something? Debug log? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: exec-program-wait problem with freeradius 2.0.3

2008-04-15 Thread Emmanuel Willems
I added exec in post-auth in sites-enabled/default and sites-enabled/inner-tunnel and it's still no go. Did i miss something? Thankx, Emmanuel Alan DeKok wrote: Emmanuel Willems wrote: > All works well in version 1.1.3 but the script does not get called in > version 2.0.3 List 'exec' in

Re: exec-program-wait problem with freeradius 2.0.3

2008-04-14 Thread Alan DeKok
Emmanuel Willems wrote: > All works well in version 1.1.3 but the script does not get called in > version 2.0.3 List 'exec' in the "post-auth" section. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: Re: Exec-Program-Wait Problem

2005-01-19 Thread Dustin Doris
> Quoting Dustin Doris <[EMAIL PROTECTED]>: > > > > > > > On Sun, 16 Jan 2005, Emman S. Loloy wrote: > > > > > Hi, > > > > > > > > > i have a problem using Exec-Program-Wait Attribute.. any comments or > > suggestion how to fix this problem. here's my configuration. > > > > > > /tmp/checkras > > >

RE: Exec-Program-Wait Problem

2005-01-17 Thread Amit Gupta
Craig Sent: Monday, January 17, 2005 3:57 PM To: freeradius-users@lists.freeradius.org Subject: Re: Exec-Program-Wait Problem Hi I am using a MySQL DB to store the list of NAS's - if I add one to the nas table, is there a way to get Freeradius to read it without having to restart radiusd? T

Re: Exec-Program-Wait Problem

2005-01-17 Thread Neil Craig
Hi I am using a MySQL DB to store the list of NAS's - if I add one to the nas table, is there a way to get Freeradius to read it without having to restart radiusd? Thanks in advance Neil - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: Re: Exec-Program-Wait Problem

2005-01-17 Thread Emman S. Loloy
Quoting Dustin Doris <[EMAIL PROTECTED]>: > > > On Sun, 16 Jan 2005, Emman S. Loloy wrote: > > > Hi, > > > > > > i have a problem using Exec-Program-Wait Attribute.. any comments or > suggestion how to fix this problem. here's my configuration. > > > > /tmp/checkras > > > > #!/bin/sh > > if [ $1 =

Re: Exec-Program-Wait Problem

2005-01-16 Thread Dustin Doris
On Sun, 16 Jan 2005, Emman S. Loloy wrote: > Hi, > > > i have a problem using Exec-Program-Wait Attribute.. any comments or > suggestion how to fix this problem. here's my configuration. > > /tmp/checkras > > #!/bin/sh > if [ $1 == "192.168.0.1" ] ; then > exit -1 ; #fail > elif [ $1 == "192.16