Hi Guy using the NAS to test with can be painfull. Here's what I do with
radclient.
radclient -f radtst-2.txt -x 127.0.0.1 auth testing123
Contents of file radtst-2.txt:-
NAS-IP-Address = 10.3.1.252
NAS-Port = 1
NAS-Port-Type = Async
User-Name = "barney"
MS-CHAP-Challenge = 0xf891896ff83faf76
MS-CHAP-Response =
0x1c0100000000000000000000000000000000000000000000000
02de6c684371d4373ff9ed97884686b55148577df9c12e0cc
Service-Type = Framed-User
Framed-Protocol = PPP
The above is for user "barney" with passord "rockstar". Here's the hashes
for same
NT-Password: 746FDB64FD2E11D171D80823820969
LM-Password: 78D866152028B45E944E2DF489A880
I use the NAS at first and just screen-scrape (cut & paste actually) the
challenge from the radiusd -sxx debug output for use with radclient.
I use the PuTTY telnet client.
Regards Mike D.
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Guy Warner
>Sent: Thursday, March 27, 2003 5:09 PM
>To: [EMAIL PROTECTED]
>Subject: Re[2]: Help needed with MS Chap v2
>
>
>At 19:47 26/03/2003 +0300, you wrote:
>>Dear Guy Warner,
>>
>>This line simply notifies you there is no authentication schema may be
>>used for packet (for MS-CHAPv1 both LM and NT authentication is
>>available, for MS-CHAPv2 only NT and it fails in your case). Packet
>>corruption is most unlikely from all variants.
>
>
>Hi
>
>Thanks for all your help so far. Given then that no authentication schema
>is available is this because of a invalid MS-CHAP-Challenge and
>MS-CHAP2-Response pair. If so is there any software to manually generate
>the pairings so that the server can be tested with radclient. If on the
>other hand the pairing is correct what are the most likely causes of this
>problem. I am confident that the username and password being sent
>are valid
>and the password contains no non-ascii characters.
>
>Thanks again
>
>Guy Warner
>
>
>
>-
>List info/subscribe/unsubscribe? See
>http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html