From: Fajar A. Nugraha <list@fajar.net>
To: Det Det <det.explorer@yahoo.com>; FreeRadius users mailing list <freeradius-users@lists.freeradius.org>
Sent: Tuesday, August 23, 2011 3:10 PM
Subject: Re: RADIUS does not send reply for all groups the user is a member of
On Tue, Aug
23, 2011 at 1:53 PM, Det Det <
det.explorer@yahoo.com> wrote:
> Hi there,
> here is the SQL and debug logs from radius.
>
> mysql> select * from radusergroup;
> +---------------------------+-----------+----------+
> | username | groupname | priority |
> +---------------------------+-----------+----------+
> |
user1@mydomain.com | defgroup | 1 |
>
user1@mydomain.com | dynamic
| 1 |
>
+---------------------------+-----------+----------+
It'd be easier if you use different priorities. Since the debug log
shows it's using "defgroup", try changing "dynamic"'s priority to "2"
...
> mysql> select * from radgroupreply;
> +----+-----------+-------------------+----+-----------------+
> | id | groupname | attribute | op | value |
> +----+-----------+-------------------+----+-----------------+
> | 1 | defgroup | Framed-MTU | = | 1500 |
> | 2 | defgroup | Service-Type | = | Framed-User |
> | 3 | defgroup | Port-Limit | = |
1 |
> | 7 | dynamic | Framed-IP-Netmask | = | 255.255.255.255 |
> | 6 | dynamic | Framed-IP-Address | = | 255.255.255.254 |
> +----+-----------+-------------------+----+-----------------+
... and add a radgroupreply entry like
defgroup | Fall-Through | = | Yes
--
Fajar