Freeradius not working with Ubuntu's default install

Wim De Hul wim.de.hul at gmail.com
Thu Dec 3 18:56:54 CET 2009


Dear members,


I have an issue with the default install of freeradius on Ubuntu 9.04.
I only added a user in /etc/freeradius/users:

wim             Cleartext-Password := "test123"

I started freeradius:

/usr/sbin/freeradius -X

But when I try:

radtest wim test123 127.0.0.1 0 testing123

I see:

Sending Access-Request of id 96 to 127.0.0.1 port 1812
        User-Name = "wim"
        User-Password = "test123"
        NAS-IP-Address = 192.168.1.152
        NAS-Port = 0
rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=96,
length=20

In my radiusd output, I see that the passwords do not match:

<snip>
++[pap] returns updated
Found Auth-Type = PAP
+- entering group PAP {...}
[pap] login attempt with password "test123"
[pap] Using CRYPT encryption.
[pap] Passwords don't match
++[pap] returns reject
Failed to authenticate the user.
Login incorrect (rlm_pap: CRYPT password check failed): [wim/test123]
(from client localhost port 0)
<snip>


Does anyone have an idea of what's going on?




More information about the Freeradius-Users mailing list