RLM_Perl not seeing huntgroup-name

Graeme Hinchliffe graeme.hinchliffe at zeninternet.co.uk
Thu May 15 17:32:49 CEST 2014


Hi
        In the Perl module we have:

if ($RAD_REQUEST{'Huntgroup-Name'} eq 'Valuehere')

This code works perfectly in FreeRADIUS 1.1.3

I guess that at some point after 1.1.3 Virtual attributes were no-longer passed to the RLM_PERL module from what you are saying?

Which means I am going to need to refactor this code, perhaps test the Huntgroup within the users file and call a different Perl module for case ?  Is it possible to specify multiple perl modules or dynamically change the methods used within a single perl module base on AutZ-Type section?

Thanks for your help, I can now at least stop banging my head on the desk and hopefully start working on a solution :)

Graeme

-----Original Message-----
From: freeradius-users-bounces+graeme.hinchliffe=zeninternet.co.uk at lists.freeradius.org [mailto:freeradius-users-bounces+graeme.hinchliffe=zeninternet.co.uk at lists.freeradius.org] On Behalf Of Alan DeKok
Sent: 15 May 2014 15:16
To: FreeRadius users mailing list
Subject: Re: RLM_Perl not seeing huntgroup-name

Graeme Hinchliffe wrote:
>                 To confirm this I have added Data::Dumper and dumped
> the various structures and cannot see it anywhere. The RLM_PERL module
> is called after preprocess module which returns OK also.

  Huntgroup-Name is a virtual attribute.  You can compare it to something, but you can't read it's value.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--
Graeme Hinchliffe
Senior Designer - Systems, Zen Internet
T: 01706 902000
F: 01706 902005
W: zen.co.uk

We have been nominated Which? Best Telecoms Provider. http://www.zen.co.uk/latest-news.aspx?page=11939

This message is private and confidential. If you have received this message in error, please notify us and remove it from your system.

Zen Internet Limited may monitor email traffic data to manage billing, to handle customer enquiries and for the prevention and detection of fraud. We may also monitor the content of emails sent to and/or from Zen Internet Limited for the purposes of security, staff training and to monitor quality of service.

Zen Internet Limited is registered in England and Wales, Sandbrook Park, Sandbrook Way, Rochdale, OL11 1RY Company No. 03101568 VAT Reg No. 686 0495 01


More information about the Freeradius-Users mailing list