On Tue, 4 Mar 2003, Rob Hartzenberg wrote:

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

Well it depends. If you use the PAP module in the authenticate section and set
it up to use clear text passwords then you can just use the := operator.

>
> > 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);".

general_encryption_method: clear

in admin.conf? I think that's a little easier.

>
> Anyhow, Thanks for the fast response.
>
> Best regards,
> -Rob
>
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]       National Technical University of Athens, Greece
Work Phone:             +30 210 7721861
'Go back to the shadow' Gandalf

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

Reply via email to