Multi-value attributes in client section
Rahman DURAN
rahman.duran at erzurum.edu.tr
Fri Apr 8 13:08:40 UTC 2022
Hi,
Is it possible to define multi-value attributes for clients and use them
with unlang if conditions? For example:
client abc {
ipaddr = xxxx
secret = xxxx
group = "123"
group = "456"
}
Then use it in a policy:
if ("%{client:group[*]}" == "123")
This does not seem to work, freeradius only keeps the first assignment
(group = "123"), it seems. Is there any way to make it work like this? Or
can I use something else for this purpose? Any client should belong to
multiple groups.
Regards,
Rahman Duran
Bilgi İşlem Daire Başkanlığı
Erzurum Teknik Üniversitesi
444 5 388 - 2730
More information about the Freeradius-Users
mailing list