I think that's the right way. If the configuration has settings to use either NAS-Port and Calling-Station-Id and the code doesn't support the second option ... Code needs fixing. Ivan Kalik Kalik Informatika ISP Dana 24/4/2008, "rsg" <ranil.santhish@gmail.com> piše:
2008/4/23 Ivan Kalik <tnt@kalik.net>:
No idea. That check must have some purpose.
Usual workaround for this is to rewrite (update in freeradius speak) NAS-Port attribute with the value of Calling-Station-Id (in unlang, perl, ...). That sorts out missing NAS-Port in the request.
Yes, this was what I suggested in my first email, to update the request packets(Auth/Acct). This works well.
There are way too many places where NAS-Port needs to be changed in the configuration, and you might need to alter code as well - hence "ONLY change this if you know what you are doing!".
As you suggested I sent a bug report based on my observations.
http://bugs.freeradius.org/show_bug.cgi?id=548
Thanks a lot for your valuable comments/input.
Ivan Kalik Kalik Informatika ISP