RE: Retrieve 'Aruba-Location-Id' from RAD_REQUEST

2013-04-26 Thread Wang, Yu
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

Re: Retrieve 'Aruba-Location-Id' from RAD_REQUEST

2013-04-26 Thread Alex Sharaz
=fsu@lists.freeradius.org [mailto:freeradius-users-bounces+ywang10=fsu@lists.freeradius.org] On Behalf Of a.l.m.bu...@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

Re: Retrieve 'Aruba-Location-Id' from RAD_REQUEST

2013-04-26 Thread A . L . M . Buxey
Hi, 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

Re: Retrieve 'Aruba-Location-Id' from RAD_REQUEST

2013-04-26 Thread A . L . M . Buxey
Hi, 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

Re: Retrieve 'Aruba-Location-Id' from RAD_REQUEST

2013-04-25 Thread A . L . M . Buxey
Hi, I am trying to retrieve 'Aruba-Location-Id' from RAD_REQUEST forwarded from Aruba wireless controllers. From radiusd -X output, I can see `Aruba-Location-Id' contains wireless AP id value. But when I call it from rlm_perl using $RAD_REQUEST{'Aruba-Location-Id'}, I got blank

RE: Retrieve 'Aruba-Location-Id' from RAD_REQUEST

2013-04-25 Thread Wang, Yu
+ywang10=fsu@lists.freeradius.org] On Behalf Of a.l.m.bu...@lboro.ac.uk Sent: Thursday, April 25, 2013 12:51 PM To: FreeRadius users mailing list Subject: Re: Retrieve 'Aruba-Location-Id' from RAD_REQUEST Hi, I am trying to retrieve 'Aruba-Location-Id' from RAD_REQUEST forwarded from

Re: Retrieve 'Aruba-Location-Id' from RAD_REQUEST

2013-04-25 Thread A . L . M . Buxey
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) {