6 Mar
2025
6 Mar
'25
7:45 a.m.
On Mar 6, 2025, at 6:10 AM, Jostein Fossheim via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
My final attempt to handle up to five huntgroups per NAS:
Why not just search for _all_ NAS names, and return the values as a string? You can then split the string apart in unlang. I don't know enough about LDAP to suggest changes to the queries, but it should work in theory. Something like "cn=*" may work. Or, create a second LDAP module which just runs the hunt group queries. That will result in more connections to the LDAP server, but that shouldn't be a problem. You can then use the LDAP module 'update' section to add multiple huntgoup names. Alan DeKok.