I only need access to the reply attributes, and only when they it's an accept.
What's really weird is that I now can get the RP_GROUP_NAME attribute but Only when I set another attribute called SERVICE_TYPE ... I just tried setting a number of attributes to see which ones show up.... When I added service-type all the sudden the attribute I wanted showed up ???? Any ideas ?? Thanks, Ron Wahler -----Original Message----- From: Alan DeKok [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 10:40 AM To: [EMAIL PROTECTED] Subject: Re: Can RADIUS attributes "Ron Wahler" <[EMAIL PROTECTED]> wrote: > I can get access to the attributes if they are in the ACCESS-REQUEST, > but not if they are in the ACCESS-ACCEPT. Hmm... the reply attributes do exist in the data structure, so they should be accessible to the 'exec' module. > I tried adding this code and the exec module, but I only get a subset of > the attributes. Which ones are missing? Do you see attributes which are in the reply, but which aren't passed to the 'exec' shell script? If you want access to BOTH the 'request' and 'reply' attributes, then your options are: 1) write a module specific to what you want 2) use rlm_perl or rlm_python With shell scripts, there is just no easy way to get access to both the reply & request attributes. 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
