Great!

Two more questions:

1. It seems that 'packet_type' attribute can have only one kind of packet
type.
   If I use 'packet_type = Access-Accept Accounting-Request', only the first
one is taken.
   If I use 'packet_type = "Access-Accept Accounting-Request"' the server
choked and
   complains that "Access-Accept Accounting-Request" is not recognized.

   Does this mean if I want the exec be called on different packet types, I
have
   to define multiple instance of it?  It is no big deal, I just need some
clarification.

2. If the server is a proxy server, and I want the exec to be called when
the authentication
   is successful, i.e. the master server reply with Access-Accept, do I
still put the exec in
   'post-auth' section, i.e. the same place when the server is a master
server itself?
   What should the input_pairs and output_pairs be using?  'proxy-request'
and 'proxy-repy'?
   Will it be OK if I still use 'request' and 'reply' even if the server is
running as a proxy?

Thanks for the help.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Paul
> Hampson
> Sent: Thursday, September 25, 2003 9:57 AM
> To: [EMAIL PROTECTED]
> Subject: RE: The exec module
>
>
> > From: Alex Chen
> > Sent: Thursday, 25 September 2003 3:57 PM
>
> > I do not know what your fix is. But I think the fix would be to
> > use 'NULL' as the default value for output_pairs, i.e. if
> > output_pairs does not exist, set it to NULL.
> >
> > I do not know if this breaks the condition when 'wait=yes', though.
>
> Yes, that was indeed the fix. As well as a warning if you don't
> use output_pairs when wait=yes, so that people who're relying on
> the behaviour that output_pairs defaults to 'reply' have some kind
> of visual warning.
>
> --
> =========================================================
> Paul "TBBle" Hampson
> Bubblesworth Pty Ltd (ABN: 51 095 284 361)
> [EMAIL PROTECTED]
>
> On a sidewalk near Portland State
> University someone wrote `Trust Jesus', and
> someone else wrote `But Cut the Cards'.
> ---------------------------------------------------------
> Random signature generator 3.0 by Paul "TBBle" Hampson
> =========================================================
>
>
> -
> 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