JRadius with FreeRADIUS - Please help me in solving this issue

Karuna G. Kumar karuna.kumar at indscape.com
Wed Jun 2 14:17:17 CEST 2010


I used different user name (karun) and password (karunkarun) also. But the result is same.

I am using Ubuntu. Very new to this OS. Can you please explain me little more about what's going wrong here ?

Found Auth-Type = PAP
+- entering group PAP {...}
[pap] login attempt with password "karunkarun"
[pap] Using CRYPT encryption.
[pap] Passwords don't match
++[pap] returns reject

Thanking You,
Karun.

-----Original Message-----
From:	freeradius-users-bounces+karuna.kumar=indscape.com at lists.freeradius.org on behalf of Alan Buxey
Sent:	Wed 6/2/2010 4:49 PM
To:	FreeRadius users mailing list
Cc:	
Subject:	Re: JRadius with FreeRADIUS - Please help me in solving this issue

Hi,

> [pap] login attempt with password "testing"
> [pap] Using CRYPT encryption.

yes, crypt...which means....

> ++[unix] returns updated

..tht you have a matching entry in /etc/passwd - hence CRYPT

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


-----Original Message-----
From:	freeradius-users-bounces+karuna.kumar=indscape.com at lists.freeradius.org on behalf of Karuna G. Kumar
Sent:	Wed 6/2/2010 4:42 PM
To:	FreeRadius users mailing list
Cc:	
Subject:	RE: JRadius with FreeRADIUS - Please help me in solving this issue

Hi,

Now I got some improvement than before I guess.

Now, I am getting the error like... 

[pap] login attempt with password "testing"
[pap] Using CRYPT encryption.
[pap] Passwords don't match

I am passing the Clear text password to FreeRADIUS. but, why is this failing ?

Please help me.

Logs:
=====

Ready to process requests.
rad_recv: Access-Request packet from host 192.168.1.109 port 44867, id=15, length=95
	User-Name = "karun"
	Acct-Session-Id = "001"
	NAS-Identifier = "NASIDTest"
	NAS-IP-Address = 192.168.1.120
	Called-Station-Id = "called"
	Calling-Station-Id = "caller"
	NAS-Port = 1234
	NAS-Port-Type = Ethernet
	User-Password = "testing"
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "karun", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
++[unix] returns updated
rlm_jradius: Reserving JRadius socket id: 7
rlm_jradius: packing attribute User-Name (type: 1; len: 5)
rlm_jradius: packing attribute Acct-Session-Id (type: 44; len: 3)
rlm_jradius: packing attribute NAS-Identifier (type: 32; len: 9)
rlm_jradius: packing attribute NAS-IP-Address (type: 4; len: 4)
rlm_jradius: packing attribute Called-Station-Id (type: 30; len: 6)
rlm_jradius: packing attribute Calling-Station-Id (type: 31; len: 6)
rlm_jradius: packing attribute NAS-Port (type: 5; len: 4)
rlm_jradius: packing attribute NAS-Port-Type (type: 61; len: 4)
rlm_jradius: packing attribute User-Password (type: 2; len: 7)
rlm_jradius: packing packet with code: 1 (attr length: 156)
rlm_jradius: packing packet with code: 0 (attr length: 0)
rlm_jradius: packing attribute Crypt-Password (type: 1006; len: 98)
rlm_jradius: sending 307 bytes to socket 7
rlm_jradius: return code 8; receiving 2 packets
rlm_jradius: reading packet: code=1 len=156
rlm_jradius: reading attribute: type=1; len=5
rlm_jradius: reading attribute: type=44; len=3
rlm_jradius: reading attribute: type=32; len=9
rlm_jradius: reading attribute: type=4; len=4
rlm_jradius: reading attribute: type=30; len=6
rlm_jradius: reading attribute: type=31; len=6
rlm_jradius: reading attribute: type=5; len=4
rlm_jradius: reading attribute: type=61; len=4
rlm_jradius: reading attribute: type=2; len=7
rlm_jradius: reading packet: code=0 len=0
rlm_jradius: reading request: config_item: len=187
rlm_jradius: reading attribute: type=1006; len=98
rlm_jradius: reading attribute: type=1100; len=7
rlm_jradius: reading attribute: type=1259012098; len=32
rlm_jradius: reading attribute: type=1259012097; len=2
rlm_jradius: Released JRadius socket id: 7
++[jradius] returns updated
++[expiration] returns noop
++[logintime] returns noop
++[pap] returns updated
Found Auth-Type = PAP
+- entering group PAP {...}
[pap] login attempt with password "testing"
[pap] Using CRYPT encryption.
[pap] Passwords don't match
++[pap] returns reject
Failed to authenticate the user.
Using Post-Auth-Type Reject
+- entering group REJECT {...}
[attr_filter.access_reject] 	expand: %{User-Name} -> karun
 attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 0 for 1 seconds
Going to the next request
Waking up in 0.6 seconds.
Sending delayed reject for request 0
Sending Access-Reject of id 15 to 192.168.1.109 port 44867
Waking up in 4.9 seconds.
Cleaning up request 0 ID 15 with timestamp +6
Ready to process requests.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 5199 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100602/ae22f342/attachment.bin>


More information about the Freeradius-Users mailing list