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

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


You’re welcome. :-)

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:39
To: FreeRadius users mailing list
Subject: Re: /etc/raddb/sites-enabled/default[90]: Expecting section start brace '{' after "{ Huntgroup-Name"

Dear Stefan,

You sir, just made my day! Thank you very much :)

Kind regards,

Jeroen Bosch

[Image removed by sender.]
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>

On Thu, Sep 11, 2014 at 3:15 PM, Stefan Paetow <Stefan.Paetow at ja.net<mailto:Stefan.Paetow at ja.net>> wrote:
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:ja.net at lists.freeradius.org> [mailto:freeradius-users-bounces+stefan.paetow<mailto:freeradius-users-bounces%2Bstefan.paetow>=ja.net at lists.freeradius.org<mailto:ja.net at lists.freeradius.org>] On Behalf Of Jeroen Bosch
Sent: 11 September 2014 14:07
To: freeradius-users at lists.freeradius.org<mailto: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

[Image removed by sender.]
Design Driven Networking - Smarter, better, controllable networks

Jeroen Bosch | Developer
Business Centre Leeuwenveldseweg 5n, 1382 LV Weesp, NL
m: +31 6 22768473<tel:%2B31%206%2022768473> | t: +31 20 894 3412<tel:%2B31%2020%20894%203412>
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

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


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/97035a36/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD000.jpg
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140911/97035a36/attachment-0001.jpg>


More information about the Freeradius-Users mailing list