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

Jeroen Bosch jeroen.bosch at netyce.com
Thu Sep 11 15:39:19 CEST 2014


Dear Stefan,

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

Kind regards,

Jeroen Bosch


*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 | www.netyce.com

On Thu, Sep 11, 2014 at 3:15 PM, Stefan Paetow <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: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
>
>
>
>   *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 | 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140911/ba8fea14/attachment-0001.html>


More information about the Freeradius-Users mailing list