David Jones wrote:
Thanks to some handy hints in here, I've had some success with rlm_perl. But (and there is always a but)
I've been happily developing against 2.x but have just discovered I need to actually use 1.x because of RHEL.
You can install version 2.x on RHEL.
The rlm_perl link of both version 1 and version 2 points to the same documentation page, so I made the assumption that although theres much different under the covers of FR, by the time you get to perl its all hidden, and I could just take a perl script that works on V2 and run it on V1.
But it doesn't. There seems to be different handling of the module return values, and of $RAD_CHECK{'Response-Packet-Type'} = "Access-Challenge". FR V1 seems quite unkeen to send out responses.
So, and finally the question; Are there supposed to be differences in behaviour for rlm_perl between V1 and V2?
Lots. There are a huge number of changes between v1 and v2. We suggest using v2 for almost everything. Alan DeKok.