RLM_Perl not seeing huntgroup-name

Chaigneau, Nicolas nicolas.chaigneau at capgemini.com
Thu May 15 16:13:27 CEST 2014


Huntgroup-Name is an internal attribute, and as such is held in the "control" value pair list.

You can access this list in perl through the %RAD_CHECK hash, which is populated by rlm_perl.
Check that this hash is declared at the beginning of your perl script.

For example:

# Bring the global hashes into the package scope
our (%RAD_REQUEST, %RAD_REPLY, %RAD_REQUEST_PROXY_REPLY, %RAD_CHECK);
# note: %RAD_CONFIG is a synonym for %RAD_CHECK.




De : freeradius-users-bounces+nicolas.chaigneau=capgemini.com at lists.freeradius.org [mailto:freeradius-users-bounces+nicolas.chaigneau=capgemini.com at lists.freeradius.org] De la part de Graeme Hinchliffe
Envoyé : jeudi 15 mai 2014 15:21
À : freeradius-users at lists.freeradius.org
Objet : RLM_Perl not seeing huntgroup-name

Hi
                I am working to update our old FreeRADIUS 1.x.x installation to the FreeRADIUS 2.x.x version, purely for maintainability, current platform has been running happily for over 10 years.

                We use a custom Perl module to perform some logic for some of our products (mainly providing L2TP tunnel selection), during the testing of the newly configured system running FreeRADIUS 2.1.12 (Debian Wheeze package) I have discovered that the Huntgroup-Name attribute doesn't seem to be being passed to the Perl module in the data structures which is required by the module.

                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.

Is there something I have missed?

Thanks

Graeme
--
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
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140515/84d03822/attachment.html>


More information about the Freeradius-Users mailing list