Re: [RADIATOR] Executing an external script from Radiator

2011-06-29 Thread Martin Burton
Access-Accept or Access-Reject, how can I send my custom reply messages on > different reasons for the Access-Reject? > > Regards, > > MP > > From: a.l.m.bu...@lboro.ac.uk > To: ant...@hotmail.com; m...@sanger.ac.uk > CC: radiator@open.com.au > Da

Re: [RADIATOR] Executing an external script from Radiator

2011-06-29 Thread M P
different reasons for the Access-Reject? Regards, MP From: a.l.m.bu...@lboro.ac.uk To: ant...@hotmail.com; m...@sanger.ac.uk CC: radiator@open.com.au Date: Wed, 29 Jun 2011 08:13:05 +0100 Subject: Re: [RADIATOR] Executing an external script from Radiator Theres a a lot of external shell

Re: [RADIATOR] Executing an external script from Radiator

2011-06-29 Thread Alan Buxey
h the correctly formed username and/or password (out of scope for this list, suggest looking into secure coding or best practice perl references) alan - Reply message - From: "M P" Date: Wed, Jun 29, 2011 05:31 Subject: [RADIATOR] Executing an external script from Radiator To: &qu

Re: [RADIATOR] Executing an external script from Radiator

2011-06-28 Thread M P
ou in advance. Regards, MP Date: Tue, 28 Jun 2011 12:04:54 +0100 From: m...@sanger.ac.uk To: radiator@open.com.au Subject: Re: [RADIATOR] Executing an external script from Radiator You're not iterating over stdin. Try something like: martin@apollo:~$ cat test.sh #!/bin/bash #iterate over stdi

Re: [RADIATOR] Executing an external script from Radiator

2011-06-28 Thread Martin Burton
, I will be able to compare it with the > return value when I do the wget command. > > Please advice on how am I able to proceed from here. > > Regards, > > MP > > > From: ant...@hotmail.com > To: radiator@open.com.au > Date: Tue, 28 Jun 2011 14:50:51 +0800 &

Re: [RADIATOR] Executing an external script from Radiator

2011-06-28 Thread M P
@open.com.au Date: Tue, 28 Jun 2011 14:50:51 +0800 Subject: Re: [RADIATOR] Executing an external script from Radiator Hello all, How am I able to read the value of the User-Password attribute and pass it to a variable from an (AuthBy) EXTERNAL BASH script? Also, how am I able to send back

Re: [RADIATOR] Executing an external script from Radiator

2011-06-27 Thread M P
ibute=value pair: Connected to 192.168.1.201. Please advice. Thank you in advance. Regards, MP From: ant...@hotmail.com To: radiator@open.com.au Date: Wed, 22 Jun 2011 13:50:30 +0800 Subject: Re: [RADIATOR] Executing an external script from Radiator Hello all, Thank you for all who respond

Re: [RADIATOR] Executing an external script from Radiator

2011-06-22 Thread Heikki Vatiainen
On 06/22/2011 12:06 AM, Dave Kitabjian wrote: > My favorite method is to use the special RADIUS Reply-Item, > "Exec-Program". Radiator will then shell whatever you pass in as an > argument to this attribute. Very powerful; very dangerous; very cool J > The only thing Radiator doesn't do is provide

Re: [RADIATOR] Executing an external script from Radiator

2011-06-21 Thread M P
advice. Thank you in advance. From: ant...@hotmail.com To: radiator@open.com.au Date: Tue, 21 Jun 2011 14:34:37 +0800 Subject: [RADIATOR] Executing an external script from Radiator Hello all, How am I going to execute an external script when Radiator receives an Access-Request? This

Re: [RADIATOR] Executing an external script from Radiator

2011-06-21 Thread Dave Kitabjian
, June 21, 2011 5:07 PM To: M P; radiator@open.com.au Subject: Re: [RADIATOR] Executing an external script from Radiator My favorite method is to use the special RADIUS Reply-Item, "Exec-Program". Radiator will then shell whatever you pass in as an argument to this attribute. Very powe

Re: [RADIATOR] Executing an external script from Radiator

2011-06-21 Thread Dave Kitabjian
which the shell executes. Often it would be nice to use a restricted access account. Dave From: radiator-boun...@open.com.au [mailto:radiator-boun...@open.com.au] On Behalf Of M P Sent: Tuesday, June 21, 2011 2:35 AM To: radiator@open.com.au Subject: [RADIATOR] Executing an external scrip

Re: [RADIATOR] Executing an external script from Radiator

2011-06-21 Thread Alan Buxey
Hi, >How am I going to execute an external script when Radiator receives an >Access-Request? This script will actually do an HTTP API request from an use hooks. see the goodies/* directory for some examples - you can have a pre-handler, posthander etc hook that will call your code. alan

Re: [RADIATOR] Executing an external script from Radiator

2011-06-21 Thread Martin Burton
Hi M P I've had success using to allow Radiator to interface with our homebrew network access control system. If it helps at all our config looks like: RejectHasReason Command /opt/config/authexternal AuthLog naclog and /opt/config/authextern

[RADIATOR] Executing an external script from Radiator

2011-06-20 Thread M P
Hello all, How am I going to execute an external script when Radiator receives an Access-Request? This script will actually do an HTTP API request from an external HTTP server to get the userid then once the script have it on the same server as where the Radiator is running, Radiator will no