Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
FreeRadius and Ondo
Author Message
tuxico
Brekeke Newbie


Joined: 23 Aug 2008
Posts: 1

PostPosted: Sat Aug 23, 2008 8:06 pm    Post subject: FreeRadius and Ondo Reply with quote

1. Brekeke Product Name and version: Ondo Sip Server 1.5.3.0/172

2. Java version: 1.5

3. OS type and the version: Ondo <-- Centos 5
freeradius <--- ubuntu


4. UA (phone), gateway or other hardware/software involved:
liksysSPA942

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html : Pattern 5

6. Your problem:


I have succesfully compiled the sample plugging to conect to freeradius, but i couldn't get it working. I am receving the request of the OSS in the freeradius, but it tells me that there is no password for that user. and also tellsme that they do not find my realm, the ip of the ondo is 120.X.X.25 and the ip of the freeradius is 120.X.X.33 and them are in the same lan


rad_recv: Access-Request packet from host 120.X.X.25:45109, id=4, length=198
NAS-Identifier = "dominiodeprueba.com"
Digest-Attributes = 0x030a5245474953544552
Digest-Attributes = 0x06054d4435
Digest-Attributes = 0x022a30383235643535343663306266343039316536376366643963396264343263646639646634633861
Digest-Attributes = 0x0a0674657374
User-Name = "test@120.X.X.25"
Digest-Attributes = 0x04127369703a3230302e362e3131352e3235
Digest-Response = "367a9fd833fb93c9906da99f215e8b9f"
Digest-Attributes = 0x010e3230302e362e3131352e3235
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
modcall[authorize]: module "chap" returns noop for request 0
modcall[authorize]: module "mschap" returns noop for request 0
rlm_digest: Adding Auth-Type = DIGEST
modcall[authorize]: module "digest" returns ok for request 0
rlm_realm: Looking up realm "120.X.X.25" for User-Name = "test@120.X.X.25"
rlm_realm: No such realm "120.X.X.25"
modcall[authorize]: module "suffix" returns noop for request 0
rlm_eap: No EAP-Message, not doing EAP
modcall[authorize]: module "eap" returns noop for request 0
modcall[authorize]: module "files" returns notfound for request 0
rlm_pap: WARNING! No "known good" password found for the user. Authentication may fail because of this.
modcall[authorize]: module "pap" returns noop for request 0
modcall: leaving group authorize (returns ok) for request 0
rad_check_password: Found Auth-Type DIGEST
auth: type "digest"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 0
rlm_digest: Configuration item "User-Password" or Digest-HA1 is required for authentication.
modcall[authenticate]: module "digest" returns invalid for request 0
modcall: leaving group authenticate (returns invalid) for request 0
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 4 to 120.X.X.25 port 45109
Waking up in 4 seconds...
rad_recv: Access-Request packet from host 120.X.X.25:45110, id=5, length=198
NAS-Identifier = "dominiodeprueba.com"
Digest-Attributes = 0x030a5245474953544552
Digest-Attributes = 0x06054d4435
Digest-Attributes = 0x022a66623738666664333838663531316530303835393132653933326664383832666639646634633861
Digest-Attributes = 0x0a0674657374
User-Name = "test@120.X.X.25"
Digest-Attributes = 0x04127369703a3230302e362e3131352e3235
Digest-Response = "363db71bb45ffa38acac1148a42873d4"
Digest-Attributes = 0x010e3230302e362e3131352e3235
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 1
modcall[authorize]: module "preprocess" returns ok for request 1
modcall[authorize]: module "chap" returns noop for request 1
modcall[authorize]: module "mschap" returns noop for request 1
rlm_digest: Adding Auth-Type = DIGEST
modcall[authorize]: module "digest" returns ok for request 1
rlm_realm: Looking up realm "120.X.X.25" for User-Name = "test@120.X.X.25"
rlm_realm: No such realm "120.X.X.25"
modcall[authorize]: module "suffix" returns noop for request 1
rlm_eap: No EAP-Message, not doing EAP
modcall[authorize]: module "eap" returns noop for request 1
modcall[authorize]: module "files" returns notfound for request 1
rlm_pap: WARNING! No "known good" password found for the user. Authentication may fail because of this.
modcall[authorize]: module "pap" returns noop for request 1
modcall: leaving group authorize (returns ok) for request 1
rad_check_password: Found Auth-Type DIGEST
auth: type "digest"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 1
rlm_digest: Configuration item "User-Password" or Digest-HA1 is required for authentication.
modcall[authenticate]: module "digest" returns invalid for request 1
modcall: leaving group authenticate (returns invalid) for request 1
auth: Failed to validate the user.
Delaying request 1 for 1 seconds
Finished request 1
Going to the next request
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 4 with timestamp 48b0cd47
Sending Access-Reject of id 5 to 120.X.X.25 port 45110
Waking up in 2 seconds...
--- Walking the entire request list ---
Cleaning up request 1 ID 5 with timestamp 48b0cd49
Nothing to do. Sleeping until we see a request.



the content of the configuration file of freeradius named "user" is:
test Auth-Type := Digest, Digest-Method == "REGISTER", User-Password := "test"
Reply-Message = "Authenticated REGISTER request for Brekeke SIP Server"



please informme what i am missing

thanks in advace


tuxico
Back to top
View user's profile
lakeview
Brekeke Master Guru


Joined: 15 Nov 2007
Posts: 319
Location: Florida

PostPosted: Mon Aug 25, 2008 10:46 am    Post subject: Reply with quote

Did you create the same user at freeradius side?

Refer the related topics.
http://www.brekeke-sip.com/bbs/search.php?mode=results&search_keywords=freeradius
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1