Retrieve 'Aruba-Location-Id' from RAD_REQUEST
Alex Sharaz
alex.sharaz at york.ac.uk
Fri Apr 26 16:46:58 CEST 2013
Be nice to hear true solution to this as the same thing happens to me for the nas-ip-address attribute
A
On 26 Apr 2013, at 15:41, "Wang, Yu" <ywang10 at fsu.edu> wrote:
> Hi, Alan,
>
> Thanks for the suggestion. I added "&log_request_attributes;" in authorize function and it already has sub log_request_attributes in the perl script. When run FR in debug mode, the Aruba-Location-ID does present but when I call $ RAD_REQUEST{'Aruba-Location-Id'} from rlm_perl, it came up empty.
>
> Any more suggestions? Thanks again.
>
> Yu Wang
>
> -----Original Message-----
> From: freeradius-users-bounces+ywang10=fsu.edu at lists.freeradius.org [mailto:freeradius-users-bounces+ywang10=fsu.edu at lists.freeradius.org] On Behalf Of A.L.M.Buxey at lboro.ac.uk
> Sent: Thursday, April 25, 2013 5:44 PM
> To: FreeRadius users mailing list
> Subject: Re: Retrieve 'Aruba-Location-Id' from RAD_REQUEST
>
> hi,
>
> tired eyes so might have missed something obvious...but can you add the following into your authorise subroutine at the top
>
> &log_request_attributes;
>
> and ensure you have the following at the bottom
>
> sub log_request_attributes {
> for (keys %RAD_REQUEST) {
> &radiusd::radlog(L_DBG, "RAD_REQUEST: $_ = $RAD_REQUEST{$_}");
> }
> }
>
>
> ..then run FR is debug mode again and see what comes out.
>
> cheers
>
> alan
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list