Question regarding rlm_perl and Access-Challenge

Alan DeKok aland at deployingradius.com
Tue Aug 19 19:03:14 CEST 2008


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.



More information about the Freeradius-Users mailing list