Win2003 IAS CRP's attribute manipulations == MS-CHAPv2 login failures.
From: Tony (tburnett_at_columbus.rr.com)
Date: 09/23/04
- Next message: Vadim: "Re: Linksys WAP54G WPA Radius auth"
- Previous message: Jeff Durham: "Re: Linksys WAP54G and FreeRADIUS"
- Next in thread: Tony: "Re: Win2003 IAS CRP's attribute manipulations == MS-CHAPv2 login failures."
- Reply: Tony: "Re: Win2003 IAS CRP's attribute manipulations == MS-CHAPv2 login failures."
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Sep 2004 14:46:34 -0400
In some scenarios, IAS CRP's attribute manipulations result in MS-CHAPv2
login failures.
Setup:
1. Build 2 Win2003 IAS boxes (PROXY and AUTH) in a domain (mydomain.com
[MYDOMAIN]).
2. On PROXY create a remote server group that points to AUTH
3. On AUTH create a RADIUS client for PROXY
4. On PROXY create a RADIUS client for the machine that will generate
PAP/CHAP/MS-CHAPv1/MS-CHAPv2 Access-Requests (CLIENT). DO NOT USE THE SAME
SHARED SECRET between CLIENT and PROXY that you used between PROXY and AUTH.
5. On PROXY create a CRP ("Proxy All") that captures all requests and
proxies (forwards) them to AUTH.
6. Edit "Proxy All" and select "Edit Profile". Switch to the "Attribute"
tab.
7. Select "User-Name" from the pull down
8. Select "Add"
9. Find: "^(.+)(@mydomain\.com)$" (no quotes)
10. Replace: $1
11.Send PAP, CHAP, MS-CHAPv1 and MS-CHAPv2 requests to PROXY from CLIENT for
the user "test@mydomain.com".
12.Does PAP, CHAP, MS-CHAPv1 work? How about MS-CHAPv2?
13.Now change the find/replace rules to...
14.Find: "^(MYDOMAIN\\)(.+)$"
15.Replace: $2
16.Repeat client requests with the username "MYDOMAIN\test". Same results?
We found that with find/replace set #1 using MS-CHAPv2 always resulted in a
"unknown username or bad password" failure on AUTH. However with
find/replace set #2 it works fine. In both cases you are sending the same
username attribute ("test") to AUTH from PROXY.
What gives? I assume this may have something to do with MS-CHAPv2's "peer
to peer" mutual authentication?
-- Tony
- Next message: Vadim: "Re: Linksys WAP54G WPA Radius auth"
- Previous message: Jeff Durham: "Re: Linksys WAP54G and FreeRADIUS"
- Next in thread: Tony: "Re: Win2003 IAS CRP's attribute manipulations == MS-CHAPv2 login failures."
- Reply: Tony: "Re: Win2003 IAS CRP's attribute manipulations == MS-CHAPv2 login failures."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|