I am trying to execute a program in the post-proxy section on
Access-Accept packets to bring up bandwidth management for a user when
they log in:
(radiusd.conf)
exec bwup {
wait = no;
program = "/etc/raddb/bwlimit start %{User-Name}
%{Calling-Station-Id} %{Tunnel-Private-Group-Id:0} %{
Priscilla B <[EMAIL PROTECTED]> wrote:
> Do we have to make our own file for this Exec-Program
Yes. It's a program, like a shell script.
> Or if not, can someone give me an example of this
> file?
scripts/exec-program-wait
Alan DeKok.
-
List info/subscribe/u
George Chelidze wrote:
versions. Can I make some tests to narrow down the problem, or some
other actions.
Best Regards,
George
I suppose you could add some debug code to where you believe the calls
to waitpid should be/are
The way I read it, without threads it should be in
src/main/
Hi,
Hope someone can help me to give me a more detailed
explanation about Exec-Program.
I see this in the acct_users file.
DEFAULT Acct-Status-Type == Start
Exec-Program = "/path/to/exec/acct/start"
Do we have to make our own file for this Exec-Program
or is there already on
Alan DeKok wrote:
George Chelidze <[EMAIL PROTECTED]> wrote:
Zombies add up even when I recompile without --without-threads option.
That sounds like a serious problem. Looking at the source, I don't
see why, though.
If I understood things correctly, if I compile radius without threads
George Chelidze <[EMAIL PROTECTED]> wrote:
> Zombies add up even when I recompile without --without-threads option.
That sounds like a serious problem. Looking at the source, I don't
see why, though.
> If I understood things correctly, if I compile radius without threads
> support reap_childr
Rashad Rustamoff wrote:
as soon as I send accounting stop packet to radius, test.pl executes and
becomes a zombie. (I tried bash script, c program with the same result.)
3890 ?Ss 0:00 /usr/local/freeradius/sbin/radiusd
3893 ?Z 0:00 \_ [test.pl]
As far as I know, this
> as soon as I send accounting stop packet to radius, test.pl executes and
> becomes a zombie. (I tried bash script, c program with the same result.)
>
> 3890 ?Ss 0:00 /usr/local/freeradius/sbin/radiusd
> 3893 ?Z 0:00 \_ [test.pl]
>
> As far as I know, this should have
Bjørn Mork wrote:
George Chelidze <[EMAIL PROTECTED]> writes:
as soon as I send accounting stop packet to radius, test.pl executes and
becomes a zombie. (I tried bash script, c program with the same result.)
3890 ?Ss 0:00 /usr/local/freeradius/sbin/radiusd
3893 ?Z 0:
George Chelidze <[EMAIL PROTECTED]> writes:
> as soon as I send accounting stop packet to radius, test.pl executes and
> becomes a zombie. (I tried bash script, c program with the same result.)
>
> 3890 ?Ss 0:00 /usr/local/freeradius/sbin/radiusd
> 3893 ?Z 0:00 \_ [tes
/etc/raddb/acct_users content:
DEFAULT Acct-Status-Type == Stop
Exec-Program = "/usr/local/bin/test.pl"
/usr/local/bin/test.pl content:
#--
#!/usr/bin/perl
exit(0);
#--
as soon as I send accounting stop
Dusty Doris wrote:
Hello,
I have recently migrated to freeradius (latest stable on debian
sarge - 1.0.2-4) and faced with the following problem:
I use Exec-Program-Wait attribute as a reply item in users file.
It returns 3 attributes: NAS-Identifier, Framed-IP-Address and
Framed-Route. These
Hello,
I have recently migrated to freeradius (latest stable on debian
sarge - 1.0.2-4) and faced with the following problem:
I use Exec-Program-Wait attribute as a reply item in users file.
It returns 3 attributes: NAS-Identifier, Framed-IP-Address and
Framed-Route. These attributes are
1:43 UT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have recently migrated to freeradius (latest stable on debian
> sarge - 1.0.2-4) and faced with the following problem:
>
> I use Exec-Program-Wait attribute as a reply item in users file.
> It returns 3 att
Hello,
I have recently migrated to freeradius (latest stable on debian
sarge - 1.0.2-4) and faced with the following problem:
I use Exec-Program-Wait attribute as a reply item in users file.
It returns 3 attributes: NAS-Identifier, Framed-IP-Address and
Framed-Route. These attributes are printed
SantaYeh <[EMAIL PROTECTED]> wrote:
> I just want to know how can we stop the users checking if mysql return OK.
doc/configurable_failover
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I store all user account in mysql, and freeradius works fine.
And now, we have some special account that need to write a external
program to do authentication. So we use
the users file using DEFAULT auth-type = Accept with exec-program-wait.
The problem is all mysql accounts doesn't work any
Armin ranjbar <[EMAIL PROTECTED]> wrote:
> does sqlcounter have the ability to run command (Exec-program) when
> authentication fails because of reaching maximum usage ?
No, but you can use module failover to do that.
See doc/configurable_failover
Alan DeKok.
-
List in
does sqlcounter have the ability to run command (Exec-program) when
authentication fails because of reaching maximum usage ?
--
Communicate! It can't make things any worse.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Norman Elton <[EMAIL PROTECTED]> wrote:
> Is there a way to cache the results of the called program, so that if
> I get 5 requests in X number of seconds, the program is only called
> once?
Not really. I'd suggest writing a C module which does that.
Alan DeKok.
-
List info/subscribe/uns
I'm using Exec-Program-Wait for authentication requests. The called
program returns some attributes.
Is there a way to cache the results of the called program, so that if
I get 5 requests in X number of seconds, the program is only called
once?
Thanks for any advice,
Norman
Doug Hardie <[EMAIL PROTECTED]> wrote:
> Recently I took a more detailed look at rlm_example and decided to
> give that approach a try. Its actually quite easy to convert an Exec-
> Program-Wait into a rlm_. Some of the steps are not obvious and
> the really difficul
I transitioned from Cistron radius some time ago. There the only
option was Exec-Program-Wait. I had developed one that suited our
needs. It transitioned quite well to freeradius. However, there are
notes in various places that Exec-Program-Wait will somtime go away.
The indicated
--- Alan DeKok <[EMAIL PROTECTED]> wrote:
> Put commas after the attribute values, like in the
> "users" file.
>
> Alan DeKok.
That did the trick, thanks Alan
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy
Americatel Centroamerica <[EMAIL PROTECTED]> wrote:
> Hi, i have two servers with diferent versions of
> freeradius, one with 0.9 and another with 1.0.1.
> I have an Exec-Program-Wait perl script configured to
> add some attributes to the reply, all is working
> flawlessly on
Hi, i have two servers with diferent versions of
freeradius, one with 0.9 and another with 1.0.1.
I have an Exec-Program-Wait perl script configured to
add some attributes to the reply, all is working
flawlessly on the 0.9, but the same script doesnt work
on the 1.0 server, the output items of the
I call perl-script from user file (exec-wait-program).
In my script I call attribute Session-Timeout and it works:
print "Reply-Message += \"Session-Timeout=%{reply:Session-Timeout}\",";
But I need to save value of Session-Timeout in variable. Can I do it?
Regards,
Svetlana
-
List info/subsc
Hi,
I'm using Exec-Program-Wait for user validation.
On some cases, I want to send back the Session-Timeout
According to what I've seen, on the script I execute on
Exec-Program-Wait, I can send back this value like this:
print "Session-Timeout=$timeout\n";
exit 0; # Grant
Alex Moreno <[EMAIL PROTECTED]> wrote:
> Is Exec-Program-Wait a variable in a configuration file? Which one
> if it is?
doc/README
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hello,
i´m freeradius newbie so excuse me if the question is an stupid one. I
need to execute a python program of myself after a freeradius login.
I´ve read on the faq that this can be done with Exec-Program-Wait but
i don´t know how to use it. Is Exec-Program-Wait a variable in a
configuration
Hi,
is it possible to have a username passed to the Exec-Program script on
Accounting-Update packets?
Regards,
Edvin Seferovic
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jandre
Olivier
Sent: Montag, 09. Mai 2005 15:25
To: freeradius-users
Hi Edgars,
I use the Exec-Program attribute in my /etc/raddb/acct_users for extra
features
DEFAULT Acct-Status-Type == Start
Exec-Program = "/bin/bash /usr/local/scripts/radius/radius.sh"
hope this helps
Edgars wrote:
okey, copied the same script file to the RADIUS server'
okey, copied the same script file to the RADIUS server's box..the same
problem occured:
Error: Exec-Program: FAILED to execute
Does someone have working setup similar to mine using Exec-Program
attribute?
DB_server<-->RADIUS_server<-->NAS
Edgars
Alan DeKok wrot
ou need to run an
>>>> external program to make aditional checks when an access request in
>>>> received, exec-program-wait or rlm_exec, im using
>>>> exec-program-wait, sould i use rlm_exec instead, the script check
>>>> some item like credit amount
to make aditional checks when an access request in
> >> received, exec-program-wait or rlm_exec, im using exec-program-wait,
> >> sould i use rlm_exec instead, the script check some item like credit
> >> amount and returns 0 or 1 if success or fail , thanks
> >
>
[EMAIL PROTECTED] wrote:
> you can point me on
> some docuemtation on the options of rlm_exec, i cant found anything on the
> web. The exec echo example is very basic,
The rest of radiusd.conf contains more documentation about rlm_exec.
Alan Dekok.
-
List info/subscribe/unsubscribe? See htt
[EMAIL PROTECTED] wrote:
> On Tue, May 03, 2005 at 10:23:05AM -0600, [EMAIL PROTECTED]
> wrote:
>> Hi, what do you consider the best solution wheen you need to run an
>> external program to make aditional checks when an access request in
>> received, exec-program-wait or
On Tue, May 03, 2005 at 10:23:05AM -0600, [EMAIL PROTECTED] wrote:
> Hi, what do you consider the best solution wheen you need to run an external
> program to make aditional checks when an access request in received,
> exec-program-wait or rlm_exec, im using exec-program-wait, so
Edgars <[EMAIL PROTECTED]> wrote:
> On which machine is the script actually ecexuted - on the one i'm runnig
> the RADIUS server or where the DB is located?
On the RADIUS server.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi, what do you consider the best solution wheen you need to run an external
program to make aditional checks when an access request in received,
exec-program-wait or rlm_exec, im using exec-program-wait, sould i use
rlm_exec instead, the script check some item like credit amount and returns
0 or
from the debug mode i'm getting the following:
radius_xlat: '/var/radius/scripts/count.php edgars 10.5.8.103'
Exec-Program: /var/radius/scripts/count.php edgars 10.5.8.103
Exec-Program output: Exec-Program: FAILED to execute
/var/radius/scripts/count.php: No such file or directo
og file:
>
> Error: Exec-Program: FAILED to execute /var: No such file or directory
>
> For users for which i've not set the Exec-Wait as a Reply attribute,
> everything work perfectly.
>
>
> Can someone point me could be the problem?
> Edgars
>
Looks like it ca
Hello,
when trying to execute some script on each user login attempt using
local DB everythings works as it supposed to do. But if using another
RADIUS server as specifying to use the previously mentioned DB (like
remote DB), getting the following errors in the log file:
Error: Exec-Program
>Hi, i just upgraded my AAA server from redhat 7.3 / freeradius 0.9-pre to
Gentoo / Freeradius 1.0.1.
> have a perl script that adds some cisco vsa attributes to the reply item
via Exec-Program-Wait, using simple print statements to STDOUT , with the
new versions,
> freeradius dont
Hi, i just upgraded my AAA server from redhat 7.3 / freeradius 0.9-pre to
Gentoo / Freeradius 1.0.1.
I have a perl script that adds some cisco vsa attributes to the reply item
via Exec-Program-Wait, using simple print statements to STDOUT , with the
new versions, freeradius dont add these items
"Emman S. Loloy" <[EMAIL PROTECTED]> wrote:
> Is it possible for the output of Exec-Program-Wait become check item?
No. See rlm_exec for that functionality.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi Guys,
Is it possible for the output of Exec-Program-Wait become check item? let say
user files
==
DEFAULT Realm == foo, Login-Time := "Any0900-1200"
Exec-Program-Wait := `/tmp/testscript`,
Fall-Thr
CT_OUTPUT_OCTETS=313966728
_=/usr/bin/printenv
--
> -Mensaje original-
> De: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] En
> nombre de Dustin Doris
> Enviado el: viernes, 11 de marzo de 2005 16:32
> Para: freeradius-users@lists.freeradius.org
> Asunto: Re: Exec-P
> Hi,
>
> I have a problem with Accounting-script-execution in raddb/acct_users :
> --
> DEFAULT Acct-Status-Type == Stop
> Exec-Program = "echo PRUEBA >> /home/pru.txt"
> --
>
I don't know if you can do it like that. You could try writin
Hi,
I have a problem with Accounting-script-execution in raddb/acct_users :
--
DEFAULT Acct-Status-Type == Stop
Exec-Program = "echo PRUEBA >> /home/pru.txt"
--
The file where the program writes has written premission for everybody:
--
-rw-rw-rw- 1 rootroot
HI,
I am using mySQL db to accounting and authuntication.
I want to run one perl script when the Accounting will
be STOP. to calculate time and rate.
But i don't where i should put Exec-Program-Wait to
run my script.
Already i had run one script to return
h323-credit-time value from the
I'm getting what seems to be an unexplained radius.log entry due to
interaction between rejected access due to bad password and rejected
access due to Exec-Program-Wait returning a non-zero value. Do I
misunderstand the documentation, or is this a bug? Can anyone suggest
a work-around,
t: '/usr/local/radius/etc/raddb/test jimmy
_
localhost 20050203 14
/usr/local/radius/var/log/radius 0
/usr/local/radius/etc/raddb 2005-02-03 14:19:40'
Exec-Program: /usr/local/radius/etc/raddb/test jimmy _
localhost 20050203 14
/usr/local/radius/var/log/radius 0
/usr/local/radius/e
> 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
> > suggesti
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
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
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.
&
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
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/shif [ $1 == "192.168.0.1" ] ; thenexit -1 ; #failelif [
$1 == "192.168.0.2" ]; thenexit -1 ; #failfie
Hi,
I had setup Freeradius on FC2 and its working fine.
I want to block the users based on MAC address.
Is it possible to do external verification of the UserName , Mac address
of a particular user using Exec in Radius configuration.
Please can anybody suugest me with an example of doing the
acct_unique
# Read the 'acct_users' file
files
}
Then the acct-users file will be processed and your scripts should be
executed.
I have this in the acct-users file and that works for me:
DEFAULT Acct-Status-Type == Start
Exec-Program = "/opt/radhome/bin/acct.p
e
addresses that particular issue.
Cheers,
>>>>> Mike <<<<<
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Nate M
> Sent: Tuesday, December 28, 2004 2:20 PM
> To: freeradius-users@lists.f
Mike Cisar wrote:
DEFAULT Acct-Status-Type == "Start"
Exec-Program = "/usr/local/bin/stopscript"
DEFAULT Acct-Status-Type == "Stop"
Exec-Program = "/usr/local/bin/startscript"
I get the impression that the above
2:49 PM
> To: freeradius-users@lists.freeradius.org
> Subject: Exec-Program
>
> Another simple one (hopefully)... this server is running on FreeRadius
> 0.9.0
> (new server coming in 3 weeks will have newest version of FreeRadius, for
> now this version is what I have to work with).
&
ype == "Start"
Exec-Program = "/usr/local/bin/stopscript"
DEFAULT Acct-Status-Type == "Stop"
Exec-Program = "/usr/local/bin/startscript"
The scripts are both owner/group to the radius user, have read/execute
permissions,
Jev <[EMAIL PROTECTED]> wrote:
> Is Acct-Unique-Session-Id available as a variable that I can pass to
> scripts invoked by rlm_exec or Exec-Program ?
Yes, when accounting packets are received, after the acct_unique
module is run.
Alan DeKok.
-
List info/subscribe/unsubscri
Hi all,
Is Acct-Unique-Session-Id available as a variable that I can pass to
scripts invoked by rlm_exec or Exec-Program ?
I tried %{Acct-Unique-Session-Id} and checked doc/variables.txt but I
did not come across anything
Regards,
-Jev
-
List info/subscribe/unsubscribe? See http
On Tue, 23 Nov 2004, Marek wrote:
Hi Thor,
thank you very much for replay, I will try to be more specific.
I have freeradius 1.01 working on RedHat 9. It is working accepting users,
creating detail files from few Cisco NAS boxes and START and STOP records are
inserted into MySQL database. What I
Hi Thor,
thank you very much for replay, I will try to be more specific.
I have freeradius 1.01 working on RedHat 9. It is working accepting
users, creating detail files from few Cisco NAS boxes and START and STOP
records are inserted into MySQL database. What I would like to do is to
update the
Marek wrote:
In my detail files I have Alive records but they are not updating
mysql database. What has to be done to archive that?
There's a conflict with your subject line!
Either you have a problem with the external script or either with the
rlm_sql module.
Please specify what you're using to u
Hi,
maybe this is a stupid question but I can't figure it out.
I am trying to get Alive updates for accounting side of the freeradius.
In my detail files I have Alive records but they are not updating mysql
database. What has to be done to archive that?
Any pointers or answers would be appreciate
ting packets.
#
DEFAULT Acct-Status-Type == Start
Exec-Program = "/usr/sbin/set_filter.php"
# Exec-Program = "/usr/bin/php4 -q /usr/sbin/set_filter.php"
#
DEFAULT Acct-Status-Type == Stop
Exec-Program = "/usr/sbin/set_filter.php"
#
#DEFAULT Acct-Status-Type == Alive
#
# $Id: acct_users,v 1.3.4.1 2003/08/26 17:41:48 phampson Exp $
#
# This is like the 'users' file, but it is processed only for
# accounting packets.
#
DEFAULT Acct-Status-Type == Start
Exec-Program = "/usr/sbin/set_filter.php"
# Exec-Program = "/usr/bin/php4 -q /usr/sbin/set_fil
On Tue, Oct 26, 2004 at 05:17:57PM +0300, Kostas Zorbadelos wrote:
> On Tue, Oct 26, 2004 at 10:20:48AM -0400, Alan DeKok wrote:
> > Kostas Zorbadelos <[EMAIL PROTECTED]> wrote:
> > > First of all I have a question for Exec-Program-Wait. I need to run an
> > > e
On Tue, Oct 26, 2004 at 02:54:45PM -0700, Nate M wrote:
> >
> > I've done some troubleshooting of my own, and unsure if this is helpful or
> > not, but the process appears to be hanging indefinitely until cleaned up
> > within this section of threads.c (beginning line 1141). The line in
> > parti
"Nate M" <[EMAIL PROTECTED]> wrote:
> Additionally.. I just compiled 2.4.27 kernel on this machine and the problem
> stops. 2.6.5, 2.6.8.1 and 2.6.9 all vomit. 2.6 bug perhaps?
Looks like it. If the FreeRADIUS code works on other platforms, and
other versions of Linux, then I'm inclined to sa
>
> I've done some troubleshooting of my own, and unsure if this is helpful or
> not, but the process appears to be hanging indefinitely until cleaned up
> within this section of threads.c (beginning line 1141). The line in
> particular it hangs on is the "rcode = ..." line. I am not enuff of a
> > "Nate M" <[EMAIL PROTECTED]> wrote:
> > > Problem exists, when posting multiple requests to radiusd it
> > occasionally
> > > will not receive or somehow omit the exit status of Exec-Program-Wait.
> >
> > I haven't be
"Nate M" <[EMAIL PROTECTED]> wrote:
> While troubleshooting I also confirmed the same issue with rlm_exec doing a
> similar task to what I'm accomplishing in exec-program-wait.
rlm_exec calls the same functions to do the exec, so it should have
all the same &quo
> "Nate M" <[EMAIL PROTECTED]> wrote:
> > Problem exists, when posting multiple requests to radiusd it
> occasionally
> > will not receive or somehow omit the exit status of Exec-Program-Wait.
>
> I haven't been able to reproduce it here, so I'm
"Nate M" <[EMAIL PROTECTED]> wrote:
> Problem exists, when posting multiple requests to radiusd it occasionally
> will not receive or somehow omit the exit status of Exec-Program-Wait.
I haven't been able to reproduce it here, so I'm not sure how to fix
it.
Kostas Zorbadelos <[EMAIL PROTECTED]> wrote:
> Actually the conversation in that thread ended by mentioning the ideas
> rlm_exec should follow. I didn't see any patch that implemented
> them. If there is such a patch please direct me to it and I
> will test it.
Nope, I haven't seen a patch, sorr
On Tue, Oct 26, 2004 at 10:20:48AM -0400, Alan DeKok wrote:
> Kostas Zorbadelos <[EMAIL PROTECTED]> wrote:
> > First of all I have a question for Exec-Program-Wait. I need to run an
> > external C program that expects in its environment a proper
> > LD_LIBRARY_PATH to
Kostas Zorbadelos <[EMAIL PROTECTED]> wrote:
> First of all I have a question for Exec-Program-Wait. I need to run an
> external C program that expects in its environment a proper
> LD_LIBRARY_PATH to run. I followed the obvious solution of using a
> wrapper bash shell scr
Hello to everyone.
First of all I have a question for Exec-Program-Wait. I need to run an
external C program that expects in its environment a proper
LD_LIBRARY_PATH to run. I followed the obvious solution of using a
wrapper bash shell script, that sets the environment and calls the C
program via
Problem exists, when posting multiple requests to radiusd it occasionally
will not receive or somehow omit the exit status of Exec-Program-Wait.
-- log snippet -
radius_xlat: '/etc/raddb/scripts/test.pl'
Exec-Program: /etc/raddb/scripts/test.pl
Waking up in 3 seconds...
Exec-Prog
(Bump)
- Nathan Miller
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nate M
Sent: Tuesday, October 12, 2004 12:34 PM
To: [EMAIL PROTECTED]
Subject: Exec-Program-Wait & Unresponsive Child Errors
Good morning. I've got some weirdness with f
ccept
Exec-Program-Wait = "/etc/raddb/scripts/pre_auth.sh",
Fall-Through = Yes
There are no other authentication mechanisms enabled, all requests go to
pre_auth.sh. The script is configured to only exit 0 (although I get
identical results when rejecting requests with e
ok, thanks a lot for the information!
Edgars
Thor Spruyt wrote:
Edgars wrote:
can someone tell me what is the difference between these attributes?
Exec-Program executes a program without waiting for any output from the
program.
Exec-Program executes a program and waits for any output from
Edgars wrote:
> can someone tell me what is the difference between these attributes?
Exec-Program executes a program without waiting for any output from the
program.
Exec-Program executes a program and waits for any output from the program.
You need this if you want the program to set attribu
Exec-Program-Wait : wait to finish authorization and then executed
Kyriaki Gali,
IT Applications Specialist
Kinetix Tele.com Support Center,
Tel & Fax: +30 2310 256140
GSM: +30 6947 723737
http://www.kinetix.gr
e-mail: [EMAIL PROTECTED]
- Original Message -
From: "Edgars
Hello,
can someone tell me what is the difference between these attributes?
Does the first one call for a script before authentication, the second
one after?
Thanks!
Edgars
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Tue, Oct 05, 2004 at 05:02:55PM -0700, Ivo Petrov wrote:
> Thanks much but I need the script executed after
> successful authentication not before that. Any way
> thanks my simple script was executed correctly.
You might want to look at rlm_exec, which gives better
control on when the script is
On Tue, Oct 05, 2004 at 04:59:13PM -0700, Ivo Petrov wrote:
> Thanks for advice but in radiusd.conf I wrote:
>
> user root
> group root
>
> and radiusd runs as root or that is not enough.
> I tried running simple script and it works, but
> when I change the script with the one that makes
> shapi
Thanks much but I need the script executed after
successful authentication not before that. Any way
thanks my simple script was executed correctly.
Regards
Ivo Petrov
--- Edgars <[EMAIL PROTECTED]> wrote:
> Hello,
>
> see what's written in logs. Try Exec-Program-Wait
&g
raper.
Can you tell me how to do it.
Thanks in advance.
Ivo Petrov
--- Paul Hampson <[EMAIL PROTECTED]> wrote:
> On Sun, Oct 03, 2004 at 02:22:17AM -0700, Ivo Petrov
> wrote:
> > Hi all,
> >
> > I'm trying to shape ppp+ interfaces after
> successful
> >
On Mon, Oct 04, 2004 at 02:20:49AM -0700, Ivo Petrov wrote:
> I have a problem using Exec-Program. I've put the line
> in radreply table
> (4,'test1','Exec-Program',':=','/path/script') but the
> script was not executed.
> Can anybody te
Hello,
see what's written in logs. Try Exec-Program-Wait instead.
Edgars
Ivo Petrov wrote:
Hi all,
I have a problem using Exec-Program. I've put the line
in radreply table
(4,'test1','Exec-Program',':=','/path/script') but the
script was not execu
On Sun, Oct 03, 2004 at 02:22:17AM -0700, Ivo Petrov wrote:
> Hi all,
>
> I'm trying to shape ppp+ interfaces after successful
> authentication using Exec-Program. radiusd runs as
> root,
> in mysql radreply table the last row for the user
> contains: Exec-Program =
Hi all,
I have a problem using Exec-Program. I've put the line
in radreply table
(4,'test1','Exec-Program',':=','/path/script') but the
script was not executed.
Can anybody tell me why?
script :
#!/bin/bash
ps aux | grep radiusd > result
Whe
101 - 200 of 275 matches
Mail list logo