Clear text password (radius)

Fajar A. Nugraha work at fajar.net
Fri Dec 3 09:33:04 CET 2010


On Fri, Dec 3, 2010 at 2:29 PM, Miha Zoubek <miha_zoubek at hotmail.com> wrote:

> [pap] login attempt with password "1234"
> [pap] Using CRYPT password "1234"
> [pap] Passwords don't match

> Why passwords  do not match if they are the same. (1234)?

Because Crypt-Password does not suppose to be the same as users'
password entry. You're supposed to store Unix-style "crypt"ed
passwords there.

If the actual password is "1234", then the what you put in crypt
password column should look something like "uTDRbHPzsi4IE"

See
http://freeradius.org/radiusd/man/rlm_pap.txt
http://en.wikipedia.org/wiki/Crypt_(Unix)
http://dev.mysql.com/doc/refman/5.1/en/encryption-functions.html#function_encrypt

-- 
Fajar




More information about the Freeradius-Users mailing list