Score:0

Multiple NAS-IP-Address check attributes in FreeRadius 3.x

ke flag

In 2.x I can add a attributes in radcheck table use the =~ operator, and a regex xxx.xxx.xxx.1|xxx.xxx.xxx.2

insert into radcheck (username,attribute,op,value) values ('username','NAS-IP-Address','=~','xxx.xxx.xxx.1|=xxx.xxx.xxx.2');

but in 3.x it failed (1) sql: ERROR: Error parsing value: Failed resolving "=xxx.xxx.xxx.1|=xxx.xxx.xxx.2" to IPv4 address: Name or service not known (1) sql: ERROR: Error parsing user data from database result (1) sql: ERROR: Error getting check attributes

what can I do?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.