Re: GNU radius using an existing db

Jordi Prats <[email protected]> Thu, 30 Jul 2009 12:57:41 +0200
Newsgroups gmane.comp.gnu.radius.general
Message-ID <[email protected]>
Hi Sergey,
Auth-Type shoudn't be SQL instead of "Local"?

My users file is the following:

DEFAULT Auth-Type =3D SQL,
                Simultaneous-Use =3D 1
        Service-Type =3D Framed-User,
                Framed-Protocol =3D PPP

I've tryed this two configurations without luck.

DEFAULT  Auth-Type =3D Local,
       Simultaneous-Use =3D 1,
       Password-Location =3D SQL,
       User-Password =3D plaintext


DEFAULT  Auth-Type =3D Local,
       Simultaneous-Use =3D 1,
       Password-Location =3D SQL,


I'm not understanding how to specify the type and location of the
database. Could you please help me?

Thank you!!!

Jordi


On Wed, Jul 29, 2009 at 10:11 AM, Sergey Poznyakoff<[email protected]> wrote:
> Jordi Prats <[email protected]> ha escrit:
>
>> Should auth_query return some kind of hash instead of a plaintext
>> password? How could I know what's going wrong?
>
> Hola Jordi,
>
> Apologies for not being able to reply earlier.
>
> Handling of the password depends on the setting of Auth-Type attribute
> in your users file. If its value is "Local", the password is treated as
> plaintext. If it is "Crypt-Local", it is treated as a DES or MD5 hash
> (recognized automatically). It also has lots of other values. Please,
> see
>
> =A0http://www.gnu.org/software/radius/manual/html_node/Authentication.htm=
l
>
> for more details.
>
> Regards,
> Sergey
>
>



--=20
Jordi