Re: Exec Module FreeRADIUS Version 2.1.8

2011-01-31 Thread Alan DeKok
hollman.diaz wrote: I'm trying to change the Auth-Type attribute with an external application. Why? I'm using FreeRADIUS Version 2.1.8 and Ubuntu 10.04 What files do I should modify? Read man unlang. I have tried with: Pretty much all of the is *completely* wrong. And

Re: Exec Module FreeRADIUS Version 2.1.8

2011-01-31 Thread hollman.diaz
Thanks for you reply! Why? I want to change Auth-Type from Accept to Reject based on the account expiration date from a user. All users have the same username and password but they are identified by the calling-station-id. So the external application verifies in a database the expiration date

Re: Exec Module FreeRADIUS Version 2.1.8

2011-01-31 Thread Craig Campbell
, January 30, 2011 8:50 PM Subject: Exec Module FreeRADIUS Version 2.1.8 Hi everybody I'm trying to change the Auth-Type attribute with an external application. I'm using FreeRADIUS Version 2.1.8 and Ubuntu 10.04 What files do I should modify? I have tried with: /etc/freeradius/radiusd.conf

Re: Exec Module FreeRADIUS Version 2.1.8

2011-01-31 Thread Alan DeKok
hollman.diaz wrote: I want to change Auth-Type from Accept to Reject based on the account expiration date from a user. All users have the same username and password but they are identified by the calling-station-id. So the external application verifies in a database the expiration date of the

Re: Exec Module FreeRADIUS Version 2.1.8

2011-01-31 Thread hollman.diaz
Thank you very much Alan. I just modified /etc/freeradius/sites-available/default like you told me: authorize { ... update control { Auth-Type := `/usr/bin/php /etc/disconnect/return.php %{Calling-Station-Id}` } ... The file /freeradius/modules/exec was not

Exec Module FreeRADIUS Version 2.1.8

2011-01-30 Thread hollman.diaz
Hi everybody I'm trying to change the Auth-Type attribute with an external application. I'm using FreeRADIUS Version 2.1.8 and Ubuntu 10.04 What files do I should modify? I have tried with: /etc/freeradius/radiusd.conf: ... instantiate { # # Allows the execution of external