can't get radtest/radclient to work
Dan Gahlinger
dgahling at hotmail.com
Wed Feb 27 21:49:37 CET 2008
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/4bef7a99/attachment.html>
More information about the Freeradius-Users
mailing list