rlm_attr_rewrite and rlm_ippool issue

2005-03-22 Thread Michael Kopp
Hi all, we are facing a issue with rewriting NAS-Port AVP before passing it to the rlm_ippool module. As our NAS system is a little bit dump and always sets NAS-Port to 0. (we won`t get a fix from the NAS vendor in a timly manner) we have to rewrite the NAS-Port on the Freeradius server, before

Re: rlm_attr_rewrite and rlm_ippool issue

2005-03-22 Thread Alan DeKok
Michael Kopp [EMAIL PROTECTED] wrote: Here is what we have configured in radiusd.conf attr_rewrite unique-nas-port { attribute = NAS-Port ... replacewith = %{Calling-Station-Id} That won't work. NAS-Port is an integer, and Calling-Station-Id is a string. You can't assign