respected sir,
I am working on freeradius-0.9.3 version in linux.
I have used PAP authentication successfully with both
the radtest and radclient commands available.
It return me Login Successful.
But the problem is in using CHAP.
1. If I use the freeradius server and client for CHAP
authentication using command
$ echo "User-Name=someuser" | radclient localhost auth
<shared secret key>
,it returns Nothing .
2. If I use another RADIUS Server (not freeradius) and
try to login through
freeradius client with command
(FOR PAP)
$ echo "User-Name=someuser,User-Password=somepassword"
| radclient localhost auth <shared secret key>
,It works absolutely fine.
(FOR CHAP) ,I am facing problem with it when I use the
command
$ echo "User-Name=someuser" | radclient localhost:port
auth <shared secret key>
,it returns me
Received response ID 51, code 11, length=163
Reply-Message = "Your Offline challenge 0840
2828.Enter your PIN and this challenge in your Offline
Client.Enter the result!"
State=0x54546a58777a4f7745377738644d4b49594b46366a7a356b6252453d
Then I generate the CHAP-Password entering the PIN and
the challenge in my offline client
Then I use the command
$ echo
"User-Name=someuser,CHAP-Password=generatedpassword,CHAP-Challenge=0840
2828,State=asmentionedabove" | radclient
<server_ip:port> auth <shared secret key>
and it return me the "Wrong Credentials" always.
Can You Please tell me the possible solutions for
both these problems.
I have studied the RFCs and other study materials
but I am not able to resolve the problem.Please help
regards
sandeep
________________________________________________________________________
Yahoo! India Matrimony: Find your partner online.
http://yahoo.shaadi.com/india-matrimony/
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html