04-Mar-03 at 17:55, Rob Hartzenberg ([EMAIL PROTECTED]) 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?

No. The PAP default, for example, is crypt passwords. You will need to
change radiusd.conf to 

        # PAP module to authenticate users based on their stored
        # password
        #
        #  Supports multiple encryption schemes
        #  clear: Clear text
        #  crypt: Unix crypt
        #    md5: MD5 ecnryption
        #   sha1: SHA1 encryption.
        #  DEFAULT: crypt
        pap {
               encryption_scheme = clear
        }

or similar.

I don't know that you can have both co-existing, without perhaps having
two instances running on two separate ports.

Regards,

-- 
[--Partly Cloudy in Rabat, 18�C/64�F. Wind: W strength 7. Humidity: 88%--]
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots.  So far, the Universe is winning.  -- Rich Cook

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

Reply via email to