Hi List, Chris

> >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  |
> +------------+-----------------+------+-----------+

Ok, can I assume from this that radiusd will try match against both plain
text and encrypted passwords?

User_admin already adds it like so:
 +------------+-----------------+------+--------------------+
 | username   |  User-Password  |  :=  |  encrypted_password  |
 +------------+-----------------+------+--------------------+

Perhaps its the ":=" instead of the "==" that makes the difference?

> 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.

>From a first glance, it seems (I may be wrong) that all I need to do here is
comment out a line in 3 of the files.
In directory "dialup_admin/lib/sql" the files "change_passwd.php3",
"create_user.php3" and "password_check.php3".
The line to comment out would be "$passwd = da_encrypt($passwd);".

Anyhow, Thanks for the fast response.

Best regards,
-Rob



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

Reply via email to