How can I tell it to only run if it is ACCEPT, I don't want
To run it if it is REJECT.

Ron.

-----Original Message-----
From: Alan DeKok [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 26, 2003 6:31 AM
To: [EMAIL PROTECTED]
Subject: Re: Can RADIUS attributes pass through to Apache? 

"Ron Wahler" <[EMAIL PROTECTED]> wrote:
> Here's the problem:
> It looks like only attributes in the ACCESS-REQUEST create shell
> variables.  I need the attributes in the ACCESS-ACCEPT to create
> Shell variables.

  Use the 'exec' module.

  exec my_exec_postauth {
        wait = no
        program = /usr/local/etc/raddb/authUser.sh
        input_pairs = reply
        # no output pairs needed, or allowed
  }


postauth {
         ...
         my_exec_postauth
}


  Will run the program on EVERY response sent back to the server, even
rejects.

  Alan DeKok.

- 
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