/etc/raddb/sites-enabled/default[90]: Expecting section start brace '{' after "{ Huntgroup-Name"

Stefan Paetow Stefan.Paetow at ja.net
Thu Sep 11 15:15:28 CEST 2014


You’ll need to add this to an ‘update reply’ item… i.e.

update reply {
    Huntgroup-Name := “%{sql:…}”
}

Stefan


From: freeradius-users-bounces+stefan.paetow=ja.net at lists.freeradius.org [mailto:freeradius-users-bounces+stefan.paetow=ja.net at lists.freeradius.org] On Behalf Of Jeroen Bosch
Sent: 11 September 2014 14:07
To: freeradius-users at lists.freeradius.org
Subject: /etc/raddb/sites-enabled/default[90]: Expecting section start brace '{' after "{ Huntgroup-Name"

Dear freeRADIUS users,

FreeRADIUS Version 2.1.12

I'm trying to setup Huntgroups using the HOWTO http://wiki.freeradius.org/guide/SQL-Huntgroup-HOWTO

After I add "{ Huntgroup-Name := "%{sql:SELECT groupnameFROM radhuntgroup WHERE nasipaddress='%{NAS-IP-Address}'}" }" to my  sites-enabled/default configuration I get the following error message:

including configuration file /etc/raddb/sites-enabled/default
/etc/raddb/sites-enabled/default[90]: Expecting section start brace '{' after "{ Huntgroup-Name"
Errors reading /etc/raddb/radiusd.conf

How to resolve this error message? Thanks in advance!

Kind regards,

Jeroen Bosch

[http://netyce.com/dev/wp-content/themes/netYCE/img/logo.gif]
Design Driven Networking - Smarter, better, controllable networks

Jeroen Bosch | Developer
Business Centre Leeuwenveldseweg 5n, 1382 LV Weesp, NL
m: +31 6 22768473 | t: +31 20 894 3412
jeroen.bosch at netyce.com<mailto:jeroen.bosch at netyce.com> | www.netyce.com<http://www.netyce.com>

Janet(UK) is a trading name of Jisc Collections and Janet Limited, a 
not-for-profit company which is registered in England under No. 2881024 
and whose Registered Office is at Lumen House, Library Avenue,
Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140911/077bf282/attachment.html>


More information about the Freeradius-Users mailing list