MODULE DEV: Problem adding an attribute to access-accept message

Ivan Ostres iostres at live.com
Wed May 15 12:21:36 CEST 2013


On 5/15/13 11:55 AM, Matthew Newton wrote:
> On Wed, May 15, 2013 at 11:28:37AM +0200, Ivan Ostres wrote:
>>            pairmake_reply("Idle-Timeout",10, T_OP_ADD);
> As a quick guess: first two args are char *. Have you tried
>
>    pairmake_reply("Idle-Timeout", "10", T_OP_ADD);
>
> ?
Yes, I tried that also...no change. I even tried with ones in rlm_example:

         pairmake_reply("Reply-Message", "This is a challenge", T_OP_EQ);
         pairmake_reply("State", "0", T_OP_EQ);

but still no attributes in access-accept.

BR,
iostres


More information about the Freeradius-Devel mailing list