Freeradius Execute Script

2008-03-20 Thread fvt3

I understand that it is possible to have Freeradius execute a script when a 
user authenticate.  What I want to do is to be able to pass that user name and 
the client's ip address to the script.  This is my setup, I have freeradius 
with mysql setup.

radgroupreply table:
testprogramExec-Program-Wait==/usr/local/etc/raddb/test.pl

When user Joe authenticates with his credential, radius would look in mysql and 
execute the test.pl script.  How can I pass  the user  name joe and client's 
ip address to the test.pl script? 


Thanks in advance ..


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html





  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Freeradius Execute Script

2008-03-18 Thread Ivan Kalik
http://www.freeradius.org/radiusd/doc/variables.txt

Ivan Kalik
Kalik Informatika ISP


Dana 17/3/2008, fvt3 [EMAIL PROTECTED] piše:

I understand that it is possible to have Freeradius execute a script when a 
user authenticate.  What I want to do is to be able to pass that user name and 
the client's ip address to the script.  This is my setup, I have freeradius 
with mysql setup.

radgroupreply table:
testprogramExec-Program-Wait==/usr/local/etc/raddb/test.pl

When user Joe authenticates with his credential, radius would look in mysql 
and execute the test.pl script.  How can I pass  the user  name joe and 
client's ip address to the test.pl script?



  
 
Never miss a thing.  Make Yahoo your home page.
http://www.yahoo.com/r/hs
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Freeradius Execute Script

2008-03-17 Thread fvt3
I understand that it is possible to have Freeradius execute a script when a 
user authenticate.  What I want to do is to be able to pass that user name and 
the client's ip address to the script.  This is my setup, I have freeradius 
with mysql setup.

radgroupreply table:
testprogramExec-Program-Wait==/usr/local/etc/raddb/test.pl

When user Joe authenticates with his credential, radius would look in mysql and 
execute the test.pl script.  How can I pass  the user  name joe and client's 
ip address to the test.pl script? 



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html