[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cistron-radius
Subject:    RE: 2 questions
From:       "Marc Kandel" <mkandel () ttlc ! net>
Date:       2003-03-31 18:18:06
[Download RAW message or body]

Eduardo,

not really what you're asking but why not write a script that calls both programs \
then call the script from the Exec-Program?

--marc

Marc Kandel
Senior Unix Administrator
Senior Network Administrator
TTLC Internet & IT Solutions
http://ttlc.net


> -----Original Message-----
> From: Eduardo Bejar [mailto:wonka@linkabu.net]
> Sent: Monday, March 31, 2003 1:07 PM
> To: cistron-radius@lists.cistron.nl
> Subject: 2 questions
> 
> 
> Hi everyone,
> 
> I´m using cistron 1.6.6, it works fine for dial in users with 
> MySQL auth.
> Can anyone help me on this:
> 
> 1. On the users file, why can't I use Exec-Program and 
> Exec-Program-Wait,
> both at the same time? I´ve been testing this, and if i define
> 
> Exec-Program-Wait='/route/program1 %u'
> Exec-Program='/route/program2'
> 
> program2 does not run. But if I only define one of them, not 
> the two, the
> program runs. I need to run 2 programs: one to authenticate 
> user and the
> other to route traffic after each user is authenticated.
> 
> 2. Well, this second question is related to the first one. 
> How can I "sense"
> when a user logins? I mean, radwho tells me who is logged, 
> but when I run
> it. I need to route traffic to a proxy for some users, and 
> for others not,
> using the same server. I made a script that makes this when I 
> run it, but I
> just need to make the server run it each time a new user is 
> connected, just
> after it has been authenticated. You might say "use 
> Exec-Program" but the
> problem is question 1. Well if my question 1 is resolved, so 
> is this; but if
> not, how can I "sense" when a user has just connected?
> 
> TIA
> 
> Edo
> 
> 
> - 
> List info/subscribe/unsubscribe? See 
http://www.radius.cistron.nl/list/

- 
List info/subscribe/unsubscribe? See http://www.radius.cistron.nl/list/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic