Не работает Radius ((

Discussion in 'Linux, Freebsd, *nix' started by FaR-G9, 6 Jul 2008.

  1. FaR-G9

    FaR-G9 Member

    Joined:
    19 Dec 2006
    Messages:
    114
    Likes Received:
    28
    Reputations:
    -4
    Помогите разобраться.
    Надо поставить Abills, делал все как в манах написано, но вот такой трабл получился: когда даю команду

    /usr/local/radiusd/bin/radtest user password 127.0.0.1:1812 0 secret 0 127.0.0.1

    мне выплевывает вот это:
    Code:
    Sending Access-Request of id 40 to 127.0.0.1 port 1812
            User-Name = "user"
            User-Password = "password"
            NAS-IP-Address = 127.0.0.1
            NAS-Port = 0
            Framed-Protocol = PPP
    rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=40, length=47
            Reply-Message = "Unknow server '127.0.0.1'"
    
    в чем может быть проблема?

    вот что пишет дэбаг
    Code:
    rad_recv: Access-Request packet from host 127.0.0.1 port 55467, id=40, length=62
            User-Name = "user"
            User-Password = "password"
            NAS-IP-Address = 127.0.0.1
            NAS-Port = 0
            Framed-Protocol = PPP
    +- entering group authorize
    ++[preprocess] returns ok
    ++[chap] returns noop
    ++[mschap] returns noop
        rlm_realm: No '@' in User-Name = "root", looking up realm NULL
        rlm_realm: No such realm "NULL"
    ++[suffix] returns noop
      rlm_eap: No EAP-Message, not doing EAP
    ++[eap] returns noop
    ++[unix] returns updated
        users: Matched entry DEFAULT at line 204
    ++[files] returns ok
    ++[expiration] returns noop
    ++[logintime] returns noop
    rlm_pap: Found existing Auth-Type, not changing it.
    ++[pap] returns noop
      rad_check_password:  Found Auth-Type Accept
      rad_check_password: Auth-Type = Accept, accepting the user
    +- entering group post-auth
    Exec-Program output: Reply-Message = "Unknow server '127.0.0.1'"
    Exec-Program-Wait: value-pairs: Reply-Message = "Unknow server '127.0.0.1'"
    Exec-Program: returned: 1
    Login incorrect (external check said so)
    ++[exec] returns reject
      Found Post-Auth-Type Reject
    +- entering group REJECT
            expand: %{User-Name} -> root
     attr_filter: Matched entry DEFAULT at line 11
    ++[attr_filter.access_reject] returns updated
    Sending Access-Reject of id 40 to 127.0.0.1 port 55467
            Reply-Message = "Unknow server '127.0.0.1'"
    Finished request 0.
    
     
  2. neval

    neval Elder - Старейшина

    Joined:
    13 Dec 2006
    Messages:
    457
    Likes Received:
    116
    Reputations:
    23
    Unknow server 127.0.0.1
     
  3. procedure

    procedure Elder - Старейшина

    Joined:
    22 Dec 2007
    Messages:
    527
    Likes Received:
    257
    Reputations:
    46
    radtest тебе не поможет. Конфигурируй через mpd авторизацию.
     
    #3 procedure, 6 Jul 2008
    Last edited: 6 Jul 2008