Kostas Kalevras wrote:
On Sun, 23 Feb 2003, Ossama Suleiman wrote:

  
hi all,

    is it possible to use groups created in mysql and associate them
with acct_users file??

assume i have group "test" and want to execute a program using
"acct_users" when i receive a stop packet Exec-Program = "*/test.sh"

what should be the syntax if it is possible??

the man pages say it should look like the users file:

DEFAULT    Group == "test", Acct-Status-Type == "Stop"
        Exec-Program = "*/test.sh"

any help??
anyone succeeded in running acct_users with mysql groups??
    

Use the Sql-Group attribute instead of Group
Thanks for your help, working just fine :)
I am not so sure though about the * in Exec-Program
Sorry for the confusion about *, i didn't mean too, i was too lazy to write: Exec-Program = "usr/local/etc/raddb/test.sh"
i am sorry for that

  
thanks for your help
Ossama


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

    

--
Kostas Kalevras		Network Operations Center
[EMAIL PROTECTED]	National Technical University of Athens, Greece
Work Phone:		+30 210 7721861
'Go back to the shadow'	Gandalf

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


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

Reply via email to