Question regarding rlm_perl and Access-Challenge

Harry J Walsh harry.walsh at gmail.com
Tue Aug 19 19:48:05 CEST 2008


Yes, that worked a charm.  Thanks for the help Alan!

--
Harry

On Tue, Aug 19, 2008 at 6:03 PM, Alan DeKok <aland at deployingradius.com> wrote:
> Harry J Walsh wrote:
>> Thanks for the swift reply Dekok.  I tried what you suggested and it
>> doesn't work.
>
>  Sorry... looking at the code again, the Response-Packet-Type should go
> into the control/check items.
> ...
>
>>                 $RAD_REPLY{'Response-Packet-Type'} = "Access-Challenge";
>
>  Change that to RAD_CHECK
> ...
>> The last line here is confusing me.  Looking at the code that spits
>> out this error, it seems to only happen when there is no
>> Response-Packet-Type in a request_post_handler.
>>
>>     switch (request->packet->code) {
>>     case PW_AUTHENTICATION_REQUEST:
>>         gettimeofday(&request->next_when, NULL);
>>
>>         if (request->reply->code == 0) {
>>             /*
>>              *  Check if the lack of response is intentional.
>>              */
>>             vp = pairfind(request->config_items,
>
>  "config_items" is the control/check list.
>
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>



-- 
Harry J Walsh



More information about the Freeradius-Users mailing list