[Serusers] radius_is_user_in failure

Rodrigo P. Telles telles at devel-it.com.br
Wed Oct 6 04:08:08 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFBY1OHiLK8unYgEMQRAijVAJ4gmQ7cxUtDlWa8kaJzydxtefDULwCdFWtZ
e4PSZdeQzihLBxgfJh17Tyg=
=iD8l
-----END PGP SIGNATURE-----




More information about the sr-users mailing list