[Serusers] radius_is_user_in failure
Jan Janak
jan at iptel.org
Thu Oct 7 08:18:00 CEST 2004
Try to se what is going on in the radius server, if you are using
freeradius then start it with -X cmdline option.
Jan.
On 05-10 23:08, Rodrigo P. Telles wrote:
> Hi Folks,
>
> I've been testing SER 0.8.14 Auth and ACC (radiusclient-0.4.4)
> in radius (freeradius 1.0.1) and its working fine.
> Now I tried to use group_radius module to check if a user is in a especific
> group and it failed.
> First I received a error about missing "Sip-Group" attribute and I found a mail
> about this error and howto correct it
> (http://lists.iptel.org/pipermail/serdev/2004-July/002339.html).
> Now SER doesn't return any error, just
>
> radius_is_user_in(): Failure
>
> after a long time.
>
> I have a user "1213" in group "general" on radius database like this:
>
> mysql> select * from radgroupcheck;
> +----+-----------+-----------+----+--------+
> | id | GroupName | Attribute | op | Value |
> +----+-----------+-----------+----+--------+
> | 1 | general | Auth-Type | := | Digest |
> +----+-----------+-----------+----+--------+
>
> mysql> select * from radcheck;
> +----+----------+---------------+----+-------+
> | id | UserName | Attribute | op | Value |
> +----+----------+---------------+----+-------+
> | 2 | 1213 | User-Password | == | testonly |
> +----+----------+---------------+----+-------+
>
> mysql> select * from usergroup;
> +----+----------+-----------+
> | id | UserName | GroupName |
> +----+----------+-----------+
> | 1 | 1213 | general |
> +----+----------+-----------+
>
> mysql> select * from radgroupreply;
> +----+-----------+---------------+----+------------+------+
> | id | GroupName | Attribute | op | Value | prio |
> +----+-----------+---------------+----+------------+------+
> | 3 | general | Reply-Message | = | Authorized | 0 |
> +----+-----------+---------------+----+------------+------+
>
>
> I googled this but I couldn't find anything about that.
> Am I missing something?
> Thanks in advance.
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
More information about the sr-users
mailing list