At 05:20 PM 3/4/2003 +0200, Rob Hartzenberg wrote:
Hi all,

Ver : FreeRadius 0.81 w/ MySQL 3.23.55

I would like to be able to store the passwords in the MySQL database in
clear text (Unencrypted).
What do I need to change to get this to work?

Nothing, simply add the a/o/v set to the check table:


+------------+-----------------+------+-----------+
| username   |  User-Password  |  ==  |  mypasss  |
+------------+-----------------+------+-----------+

I am in the process of migrating over the FreeRadius,
I currently have the system working with a standard MySQL setup, and am able
to use the "user_admin" to add and manage users. Users added this way are
able to log in successfully and everything is working 100%

I would however like to use the same sql database for a second service on
our network that requires the passwords to be stored in plain text.

Ahhh, you are using the 'dialup_admin' package. You'll have to track down the function that inserts the user, and modify it so that it inserts values as shown above, instead of storing a crypted password.

-Chris
--
   \\\|||///  \          StarNet Inc.      \         Chris Parker
   \ ~   ~ /   \       WX *is* Wireless!    \   Director, Engineering
   | @   @ |    \   http://www.starnetwx.net \      (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
                  \ Wholesale Internet Services - http://www.megapop.net



- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to