SQL SELECT statement

Charly netflow at geosciences.ensmp.fr
Mon May 18 10:42:37 CEST 2020


Hello,

I would like to update Cisco-AVPair attribute using a SQL request :

                 update reply {
                         Cisco-AVPair += "%{sql:SELECT value FROM 
radreply WHERE username = '%{User-Name}' AND attribute = 'Cisco-AVPair' 
ORDER BY id}"
                 }

But only the first row is returned.

Charlye



More information about the Freeradius-Users mailing list