Problem with huntgroups upgrading from 2.2.9 to 3.0.x
Hi, I'm upgrading from FR 2.2.9 to FR 3.0.13. I'm testing the configuration in my lab. I've a problem with huntgroups. This is my huntgroups file: adsl NAS-IP-Address == 1.2.3.4 Group == adslhome, Group == adslbusiness, Group == adslpro Suppose a user is in the group adslbusiness. I get the "No Huntgroup" error. exchanging the last two lines the same user can log in: adsl NAS-IP-Address == 1.2.3.4 Group == adslhome, Group == adslpro, Group == adslbusiness It seems that it works only if the last condition is true. The same huntgroups file works fine in FR 2.2.9. Is it changed some logic from 2.x to 3.x? Thanks, Andrea -- ---------------------------------------------------------------- Una candela accesa infiamma un'altra candela, e in tal modo si riesce ad accendere migliaia di candele, cos ---------------------------------------------------------------- Ing. Andrea Gabellini Email: andrea.gabellini@telecomitalia.sm Skype: andreagabellini Tel: (+378) 0549 886111 Fax: (+378) 0549 886188 Telecom Italia San Marino S.p.A. Via XXVIII Luglio, 212 - Piano -2 47893 Borgo Maggiore Republic of San Marino http://www.telecomitalia.sm
On Mar 11, 2017, at 7:18 AM, Andrea Gabellini <andrea.gabellini@telecomitalia.sm> wrote:
It seems that it works only if the last condition is true. The same huntgroups file works fine in FR 2.2.9. Is it changed some logic from 2.x to 3.x?
The logic shouldn't have changed. Still, the hunt groups file is old and will likely go away in v4. The new policies in "unlang" are MUCH easier to understand, and have tests that run every time the server is built. I'd suggest just using that instead. Alan DeKok.
Thank you Alan. I'll rewrite the logic of huntgroups with unlang. Il 11/03/2017 16:49, Alan DeKok ha scritto:
On Mar 11, 2017, at 7:18 AM, Andrea Gabellini <andrea.gabellini@telecomitalia.sm> wrote:
It seems that it works only if the last condition is true. The same huntgroups file works fine in FR 2.2.9. Is it changed some logic from 2.x to 3.x? The logic shouldn't have changed.
Still, the hunt groups file is old and will likely go away in v4. The new policies in "unlang" are MUCH easier to understand, and have tests that run every time the server is built. I'd suggest just using that instead.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- ---------------------------------------------------------------- If a shop is open 24 hours a day, 365 days a year, why are there locks on the doors? ---------------------------------------------------------------- Ing. Andrea Gabellini Email: andrea.gabellini@telecomitalia.sm Skype: andreagabellini Tel: (+378) 0549 886111 Fax: (+378) 0549 886188 Telecom Italia San Marino S.p.A. Via XXVIII Luglio, 212 - Piano -2 47893 Borgo Maggiore Republic of San Marino http://www.telecomitalia.sm
participants (2)
-
Alan DeKok -
Andrea Gabellini