Bug 241294 - Incorrect AccessRequest for mschap and mschap-v2 protocol
Summary: Incorrect AccessRequest for mschap and mschap-v2 protocol
Status: CLOSED DUPLICATE of bug 241293
Alias: None
Product: Fedora
Classification: Fedora
Component: radiusclient-ng   
(Show other bugs)
Version: 6
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeffrey C. Ollie
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-05-24 21:09 UTC by Igor A Tarasov
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-05-24 22:27:12 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Igor A Tarasov 2007-05-24 21:09:24 UTC
Description of problem:
Radiusclient use incorrect AccessRequest for mschap and mschap-v2 protocol to 
authenticate against Radius Server. But old versions working fine.

Version-Release number of selected component (if applicable):

How reproducible:
Cannot use MS-CHAP or MS-CHAP-V2 protocol to authenticate user. Other 
protocols (PAP and CHAP) working correct.

Steps to Reproduce:
1. Try to authenticate with ms-chap protocol
Actual results:
Dump of packet by freeradius:
Packet-Type = Access-Request
        Service-Type = Framed-User
        Framed-Protocol = PPP
        User-Name = "dicr"
        NAS-IP-Address =
        NAS-Port = 1
        Client-IP-Address =
This is incorrect, because there no MS-Chap-Challenge attribute for MS-CHAP 

Expected results:
Old version libradiusclient 0.3.1 work fine with the next packet dump:
Packet-Type = Access-Request
        Service-Type = Framed-User
        Framed-Protocol = PPP
        User-Name = "dicr"
        MS-CHAP-Challenge = 0x1e9cc0ca7c6a1e9e4bb40c89fc2142ff
        MS-CHAP2-Response = 
        NAS-IP-Address =
        NAS-Port = 1
        Client-IP-Address =

Additional info:
With PAP and CHAP protocol it working fine, including UserPassword or 
ChapChallenge and ChapPassword attributes, but MS-CHAP request is malformed 
and not correct. Freeradius say "No UserPassword attribute" and refuse 
authentication, but with old version libradiusclient all working fine..

Comment 1 Jeffrey C. Ollie 2007-05-24 22:27:12 UTC

*** This bug has been marked as a duplicate of 241293 ***

Note You need to log in before you can comment on or make changes to this bug.