Hello List,
I have problem with the group membership checking of ser calls with radius using mysql module.
Well group checking is working fine with the users file but when I try to do that checking with mysql entries it always getting failed.
Below mentioned is section of my users file
211069020@mydomain.pt Sip-Group == "int", Auth-Type := Accept
Reply-Message = "Authorized"
What should be the entries corresponding to the above mentioned in mysql tables of radgroupcheck and radgroupreply.
I am using freeradius-1.1.3 with default values in sql.conf file.
Here are the table entries of mysql.
mysql> select * from radcheck;
+----+----------------------------+-----------+----+-----------+
| id | UserName | Attribute | op | Value |
+----+----------------------------+-----------+----+-----------+
| 2 | 211069020@mydomain.pt | Password | == | 211069020 |
| 33 | 211069020@mydomain.pt | Auth-Type | := | Digest |
+----+----------------------------+-----------+----+-----------+
2 rows in set (0.00 sec)
My sip clients can authenticate with mysql entries but can not do group authorization.
Please suggest something
Thanks very much
Lokesh
As I said in my previous email, you need to read your error messages.
The attribute for the password is called User-Password, NOT Password.
It says clearly in your error:
"rlm_digest: Configuration item"User-Password" or Digest-HA1 is required for authentication."
N.
On Mon, 13 Nov 2006 15:42:52 -0000, Lokesh Kumar wrote
Hello List, I have problem with the group membership checking of sercalls with radius using mysql module. Well group checking is working fine with the users file butwhen I try to do that checking with mysql entries it always getting failed. Below mentioned is section of my users file 211069020@mydomain.pt Sip-Group == "int",Auth-Type := Accept Reply-Message ="Authorized" What should be the entries corresponding to the abovementioned in mysql tables of radgroupcheck and radgroupreply. I am using freeradius-1.1.3 with default values in sql.conffile. Here are the table entries of mysql. mysql> select * from radcheck; +----+----------------------------+-----------+----+-----------+ | id |UserName | Attribute | op | Value | +----+----------------------------+-----------+----+-----------+ | 2 | 211069020@mydomain.pt | Password | == |211069020 | | 33 | 211069020@mydomain.pt | Auth-Type | := |Digest | +----+----------------------------+-----------+----+-----------+ 2 rows in set (0.00 sec) My sip clients can authenticate with mysql entries but cannot do group authorization. Please suggest something Thanks very much Lokesh
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.14.3/531 - Release Date: 11/12/2006