I can get access to the attributes if they are in the ACCESS-REQUEST, but not if they are in the ACCESS-ACCEPT.
I tried adding this code and the exec module, but I only get a subset of the attributes. The shell variables: PWD=/usr/local/etc/raddb CALLBACK_ID="my callback ID 88888 SBR" SHLVL=1 REPLY_MESSAGE="this is my reply SBR" CLASS=0x5342522d434c20444e3d225c5c524f56494e475f504c414e45545c5045544522 2041543d22372200 _=/usr/bin/printenv Is there a reason the attributes in the request are available and not in the accept? Thanks, Ron. -----Original Message----- From: Alan DeKok [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 6:44 AM To: [EMAIL PROTECTED] Subject: Re: Can RADIUS attributes pass through to Apache? "Ron Wahler" <[EMAIL PROTECTED]> wrote: > How can I tell it to only run if it is ACCEPT, I don't want > To run it if it is REJECT. For now, poke at the source code to rlm_exec. In the function exec_dispatch(), add near the top: if (request->reply->code == PW__AUTHENTICATION_REJECT) { return RLM_MODULE_NOOP; } 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
