On Wed, Dec 18, 2002 at 11:18:56AM -0500, Alan DeKok wrote:
> Andrew Pilley <[EMAIL PROTECTED]> wrote:
> > since md5 is a one-way hash, i can't just recover the passwords and
> > recrypt them.
>
> Just use them in place.
i've tried that. i changed the Crypt-Password's Value field to basically
be a copy of an existing md5 based password, but i think pap is having
issues with it, as it basically seems to reject me... am i using the
right Attribute name for an md5-based password?
>
> > What would i need to do to acheive basically a straight copy-paste of
> > the existing md5 passwords into appropriate SQL rows? i've tried setting
> > pap {
> > encryption_scheme = md5
> > }
> > as well as setting it to crypt, and neither seem to work.
>
> Wow. Why doesn't it work? Did you read the FAQ?
there isn't anything in the FAQ on www.freeradius.org about this
particular issue, as far as i can see... i'll try turning up the
debugging output, and seeing what i can get pap's code to tell me
tomorrow (not at work today, so it's a little hard to test)
that said, it works fine if i insert the plaintext password into the
Value field, running the ENCRYPT mysql function on it (so it's CRYPT'ed
in the database). (when using encryption_scheme=crypt)
Andrew Pilley
>
> Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html