> 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>
You have snipped the interesting bit. > ++[pap] returns updated > Found Auth-Type = PAP > +- entering group PAP {...} > [pap] login attempt with password "test123" > [pap] Using CRYPT encryption. Since you have cleartext password in users file crypt one is probably coming from /etc/passwd (but since you edited the debug it's hard to say for sure). Comment out unix in authorize and password from users file will be used. Ivan Kalik - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html