rlm_perl problems]

Igor Smitran sigor at blic.net
Wed Jul 29 08:38:00 CEST 2009


Garber, Neal wrote:
> The error is in rlm_perl and appears related to thread data management, not the O/S and not perl (I run FreeBSD and you run CentOS; we even have different versions of perl).  Boian can explain the change far better than I can; but, my interpretation of the change is that the thread specific data key is now created upon perl module instantiation and stored with the instance data (so there's now a separate key for each perl instance we defined in FreeRadius).  (Perhaps someone will correct me if I interpreted it incorrectly.)
>
> When you say you're not good in C, if you are mean you are unsure how to apply the patch, try this:
>
> 1. Put the .diff file in the directory with rlm_perl.c (src/modules/rlm_perl is the directory).  
> 2. Then use the patch command to update rlm_perl.c (it creates rlm_perl.c.orig as a backup and updates rlm_perl.c): 
> 	patch rlm_perl.c rlm_perl.diff
> 3. Rebuild/install FreeRadius from source
> 4. Test
> 5. Say thank you to Boian (and Ivan as he helped also)..
>   
I know how to patch. I was just trying to find out what was the error.
That's the part i was thinking of when i said "not good in C" :)
You are right, i forgot to say thank you to all. :)
Thank you Ivan, thank you Boian.

Igor



More information about the Freeradius-Users mailing list