Hi all, On my freeradius server i want to be able to have access to each attributes/values of the reply. (to save one attribute/value per line in a database) I tried to implement foreach loop, i have access to the value but i don't know if it's possible to have access to the attribute name. Here my unlang syntax: foreach &reply { update reply { # insert into ... attribute_name , "%{Foreach-Variable-0}" Reply-Message += "%{Foreach-Variable-0}" } } Is there any way to fetch the attribute name ? Thanks Regards Fabrice -- Fabrice Durand fdurand@inverse.ca :: +1.514.447.4918 (x135) :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)
participants (1)
-
Fabrice Durand