Problems System Auth with FreeRadius (/etc/shadow)

Nataniel Klug nata at cnett.psi.br
Tue Jan 24 11:21:38 CET 2006


    Hello,

    I am having a big problem with FreeRadius server. It doesnt authenticate
my clients using /etc/shadow and /etc/passwd. When I try to use "radlogin"
or "radtest" this are the messagens I get:

=== radlogin ===
[root at ns2 radius]# radlogin
($Id: radlogin.c,v 1.3 1997/12/29 23:07:25 lf Exp $)
-----------------------------------------------------
Linux 2.6.13.4 (ns2.cnett.com.br) (port 0)
-----------------------------------------------------

login: nata
Password:
RADIUS: Authentication failure
local: Authentication failure

[root at ns2 radius]# tail radius.log -n 2
Tue Jan 24 01:24:02 2006 : Auth: rlm_unix: [nata]: invalid password
Tue Jan 24 01:24:02 2006 : Auth: Login incorrect: [nata/1234] (from client
localhost port 0)

=== radtest ===
[root at ns2 radius]# radtest nata 1234 localhost:1812 0 local
Sending Access-Request of id 126 to 127.0.0.1:1812
        User-Name = "nata"
        User-Password = "1234"
        NAS-IP-Address = ns2.cnett.com.br
        NAS-Port = 0
rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=126, length=20
[root at ns2 radius]# tail -n 2 radius.log
Tue Jan 24 01:26:41 2006 : Auth: rlm_unix: [nata]: invalid password
Tue Jan 24 01:26:41 2006 : Auth: Login incorrect: [nata/1234] (from client
localhost port 0)


    I tryed everything I know and it still not working. If I compile and
install Cistron Radius it works just fine, but I dont want Cistron...

freeradius-1.0.1-1
Fedora Core 3 - Kernel 2.6.13.4 (compiled from source)

    Waiting for help.

Att,

Nataniel Klug




More information about the Freeradius-Users mailing list