can't get radtest/radclient to work
Dan Gahlinger
dgahling at hotmail.com
Wed Feb 27 22:12:44 CET 2008
Alan, it's the age-old 64bit API problem again,
it's on OpenSUSE 10.3 now, using 1.1.6 with 1.1.7 libraries it looks like
the CVS fix seems to work here as well.
Any way you can get those changes into the Suse pacakges?
Dan.
From: dgahling at hotmail.com
To: freeradius-users at lists.freeradius.org
Subject: can't get radtest/radclient to work
Date: Wed, 27 Feb 2008 15:49:37 -0500
I'm having a really stupid problem.
I created a "dummy" user for testing:
useradd -m testing
passwd testing (set password to "testing"). not secure, but who cares - it's just for testing.
left share secret as default, tried to login locally with this:
echo "User-Name = testing,password=testing" | /usr/bin/radclient localhost:1812 auth testing123
I enabled bad password logging, and get this error in the log:
Wed Feb 27 15:13:18 2008 : Auth: rlm_unix: [testing]: invalid password
Wed Feb 27 15:13:18 2008 : Auth: Login incorrect: [testing/testing] (from client localhost port 0)
I also tried this way:
radtest testing testing 127.0.0.1:1812 0 testing123
and this was the result:
Sending Access-Request of id 92 to 127.0.0.1 port 1812
User-Name = "testing"
User-Password = "testing"
NAS-IP-Address = 255.255.255.255
NAS-Port = 0
Re-sending Access-Request of id 92 to 127.0.0.1 port 1812
User-Name = "testing"
User-Password = "testing"
NAS-IP-Address = 255.255.255.255
NAS-Port = 0
rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=92, length=20
All the radius.conf defaults are left the same except the extra bad password logging.
I have no idea why that's failing. I know it's something really stupid like the "system" login fall-through bypass not being high up enough in the config or something.
Can anyone jog my memory again?
thanks!
Dan.
_________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080227/19aa8814/attachment.html>
More information about the Freeradius-Users
mailing list