store encypted passwords
matthias.h.nagel at gmail.com
Mon Oct 8 23:29:13 CEST 2012
first, please use the correct way of quoting for mailing list. This is to say, write your comments below the original text that it refers to. That way readers who pick up a thread later can follow more easily. But now back to topic.
Am Montag 08 Oktober 2012, 16:17:52 schrieb jon jon:
> On Mon, Oct 8, 2012 at 4:02 PM, Matthias Nagel
> <matthias.h.nagel at gmail.com> wrote:
>>> I have set up FreeRADIUS Version 2.1.10 on an Ubuntu server 12.04,
>>> Mysql Server version: 5.5.24. Everything is up and running but the
>>> users passwords are stored in plain text in raddacct. I tried changing
>>> the attribute to Crypt-Password but it doesn't change anything.
>> What do you mean by "doesn't change anything"? If you have changed the attribute name to "Crypt-Password" and you also modified the attribute's value accordingly, what do you expect? If it still works, then be happy.
> doesn't change anything = password is still showing as plain text. What do mean by " modified the attribute's value accordingly"?
You wrote that you changed clear text passwords to crypt-passwords. This means to me you updated your database, hence your database does not show clear text passwords anymore. What exactly did you do, when you changed from clear text to crypt-passwords?
I assumed to did something like this:
UPDATE radcheck set attribute = 'Crypt-Password', value = SOME_FANCY_CONVERT_FUNCTION( value ) WHERE some_senseful_condition_here;
Anyway, I now notice that you were speaking of "radacct". This table is not to show any password at all.
>>> Do I
>>> need to make a change to a config file also? Not sure what type of
>>> encryption would be best one that works MD5?
>> For a copatibilty of password encryption schemes and protocols, see here:
More information about the Freeradius-Users