How to access Proxy-to-Realm in script?

2003-07-25 Thread Josh Howlett
I'm trying to access the Proxy-to-Realm attribute in a script called via
rlm_exec (the script needs to know where proxied requests have been
sent).

However, I've tried instantiating the script from within the authorize
(after the rlm_realm instantiation) and pre-proxy sections, without any
luck.

Is it not possible to access FR internal attributes in this way?  If so,
any ideas how I might achieve a similar effect?

best regards, josh.

-- 
---
Josh Howlett, Networking  Digital Communications,
Information Systems  Computing, University of Bristol, U.K.
'phone: 0117 928 7850 email: [EMAIL PROTECTED]



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


Re: How to access Proxy-to-Realm in script?

2003-07-25 Thread Alan DeKok
Josh Howlett [EMAIL PROTECTED] wrote:
 I'm trying to access the Proxy-to-Realm attribute in a script called via
 rlm_exec (the script needs to know where proxied requests have been
 sent).

  See src/main/proxy.c.  That attribue is in the configuration items.
rlm_exec *should* allow those attributes to be passed to the program
being executed...

  Alan DeKok.

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