Cleartext-Password with rlm_sql problem
Fabio Pedretti
pedretti at eco.unibs.it
Tue Apr 3 14:44:52 CEST 2007
Hi,
I just upgraded my freeradius 1.1.3 to 1.1.5, which I am using with a
MySQL db for storing users password. I did a diff from original 1.1.3
raddb vs my modified raddb and applied it to 1.1.5 raddb. All worked
fine.
After that I see in the users file that User-Password was replaced
with Cleartext-Password, so I replaced in the radcheck all
"User-Password" with "Cleartext-Password": after doing that, my users
can't no more authenticate. I get this in radius.log:
Tue Apr 3 12:29:35 2007 : Info: rlm_sql (sql_main): No matching entry
in the database for request from user [user1]
Tue Apr 3 12:29:35 2007 : Info: rlm_eap_mschapv2: Issuing Challenge
Tue Apr 3 12:29:35 2007 : Info: rlm_sql (sql_main): No matching entry
in the database for request from user [user1]
Tue Apr 3 12:29:35 2007 : Auth: Login incorrect: [user1 at mydomain]
(from client localhost port 29)
Tue Apr 3 12:29:35 2007 : Auth: Login incorrect: [user1 at mydomain]
(from client ap-1 port 29)
Backing to "User-Password" worked again.
What wrong? Is it correct to replace "User-Password" to
"Cleartext-Password" with users in a MySQL db, as done in users file?
Thanks
More information about the Freeradius-Users
mailing list