users file contains:
1111111       Password == "xxx", Huntgroup-Name == "xxxshasta", NAS-Port == 1929381288

Incoming Radius Request (from tcpdump):
[udp sum ok]
  rad-access-req 139 [id 225] Attr[
    User{1111111}
    CHAP-Pass
    Acct_session_id{180067e2}
    NAS_ipaddr{xxx}
    Vendor_specific{...."Shasta 5000: iSOS (tm), 2.5.7.5.}
    Service_type{Framed}
    Framed_proto{PPP}
    Calling_station{xxx}
    NAS_port{1929381288}
 ] (ttl 64, id 58448, len 167)

results in:

rad_recv: Access-Request packet from host xxx
   User-Name = "1111111"
   CHAP-Password = "xxx hashed xxx"
   Acct-Session-Id = "180067e2"
   NAS-IP-Address = xxx
   Shasta-Software-Version = "Shasta 5000: iSOS (tm), 2.5.7.5"
   Service-Type = Framed-User
   Framed-Protocol = PPP
   Calling-Station-Id = "xxx"
   NAS-Port = 1929381288
modcall: entering group authorize for request 65
  modcall[authorize]: module "preprocess" returns ok for request 65
    rlm_realm: No '@' in User-Name = "1111111", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 65
    users: Matched DEFAULT at 25
  huntgroups: Matched xxx at 14
  modcall[authorize]: module "files" returns ok for request 65
  rlm_chap: Setting 'Auth-Type := CHAP'
  modcall[authorize]: module "chap" returns ok for request 65
  modcall[authorize]: module "mschap" returns noop for request 65
modcall: group authorize returns ok for request 65
  rad_check_password:  Found Auth-Type CHAP
auth: type "CHAP"
modcall: entering group authtype for request 65
  rlm_chap: login attempt by "1111111" with CHAP password
  rlm_chap: Could not find clear text password for user 1111111
  modcall[authenticate]: module "chap" returns invalid for request 65
modcall: group authtype returns invalid for request 65
auth: Failed to validate the user.
Login incorrect: [1111111/<CHAP-Password>] (from client shasta xxx)
Sending Access-Reject of id xx
Finished request 65

Any idea, what's going wrong here?

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

Reply via email to