+ Responder ao Tópico



  1. #1

    Padrão problemaço freeradius!!

    ae pessoal, boa noite.. to com um problema na configuração de um servidor radius (freeradius)
    ele starta OK.. mas ao efetuar um radtest da esses erros:

    [[email protected] raddb]# radtest gsiena senhaloka 172.16.0.1:1812 2 secretloko
    Sending Access-Request of id 69 to 172.16.0.1:1812
    User-Name = "gsiena"
    User-Password = "senhaloka"
    NAS-IP-Address = 172.16.0.1
    NAS-Port = 2
    Re-sending Access-Request of id 69 to 172.16.0.1:1812
    User-Name = "gsiena"
    User-Password = "senhaloka"
    NAS-IP-Address = 172.16.0.1
    NAS-Port = 2
    rad_recv: Access-Reject packet from host 172.16.0.1:1812, id=69, length=20

    [[email protected] raddb]# taif -f /var/log/radius/radius.log
    Mon Jan 23 21:43:14 2006 : Info: Using deprecated naslist file. Support for this will go away soon.
    Mon Jan 23 21:43:14 2006 : Info: rlm_exec: Wait=yes but no output defined. Did you mean output=none?
    Mon Jan 23 21:43:14 2006 : Info: Ready to process requests.
    Mon Jan 23 21:43:19 2006 : Auth: rlm_unix: Attribute "User-Password" is required for authentication.
    Mon Jan 23 21:54:50 2006 : Auth: rlm_unix: Attribute "User-Password" is required for authentication.

    ja tentei tudo q sei mas nao deu certo.. se alguem souber por favor me ajude :-)

  2. #2

    Padrão Re: problemaço freeradius!!

    Amigo se vc usa os usuarios do sistema pra autenticar talvez este teste te diga o que esta errado, aqui comigo funcionou!

    Código :
    teste Auth-Type := Local, User-Password == "123mudar"
        Service-Type = Framed-User,
        Framed-Protocol = PPP,
        Framed-IP-Address = 200.249.190.131,
        Framed-IP-Netmask = 255.255.255.192,
        Framed-Routing = Broadcast-Listen,
        Framed-Filter-Id = "bo",
        Framed-MTU = 1500,
        Framed-Compression = Van-Jacobsen-TCP-IP,
        Download = 200,
        Upload = 100,
        Cliente = cliente


    Ai vc tenta logar com o usuario teste e a senha 123mudar, se ele conseguir autenticar com esse usuario e naum conseguir com os usuarios do sistema talvez seja permissao nos arquivos /etc/passwd e /et/shadow