On Thu, May 05, 2005 at 08:22:44AM -0600, [EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] wrote: > > On Tue, May 03, 2005 at 10:23:05AM -0600, [EMAIL PROTECTED] > > wrote: > >> Hi, what do you consider the best solution wheen you need to run an > >> external program to make aditional checks when an access request in > >> received, exec-program-wait or rlm_exec, im using exec-program-wait, > >> sould i use rlm_exec instead, the script check some item like credit > >> amount and returns 0 or 1 if success or fail , thanks > > > > I like rlm_exec because it gives you more control over _where_ the > > execution happens, and also you can have more than one, and control > > the output attribute's destination and (with the eventual 1.1.0 > > release) you can control the quoting of the environment variables and > > actually get > > to return an RLM_-type result so it can participate in failover. > > > > And exec-program-wait is deprecated. ^_^ > > deprecated ?, Ok, i must have to pay more atention to the mailling list, > In my config, i run diferent scripts depending on the group of the username > (table usergroup), can be this be done using rlm_exec?, you can point me on > some docuemtation on the options of rlm_exec, i cant found anything on the > web. The exec echo example is very basic,
I do this with Post-Auth-Type. -- Paul "TBBle" Hampson, on an alternate email client. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html