Re: [ [email protected] ] DV_AUTH_TYPE_SQL, DV_AUTH_TYPE_CRYPT_LOCAL and DV_AUTH_TYPE_LOCAL

"Sergey Poznyakoff" <[email protected]> Fri, 04 Nov 2005 14:32:52 EET
Newsgroups gmane.comp.gnu.radius.general
Organization Farlep-Internet
Message-ID <[email protected]>
Georges Arnould <[email protected]> wrote:

> I patched the code in
> radck.c in order to use DV_AUTH_TYPE_LOCAL and it works perfectly, resulting in
> "Login OK" ...

It is wrong.

>   My question is : 
>   - did I correctly understand the meaning of the code ?

In general, yes, but you seem to have not read the documentation.
`Auth-Type = SQL' implies using encrypted passwords in the database.

>   - is there a way to tell gnu-radius to compare plain text password and not
> crypted one ?
>

Yes, use  `Auth-Type = Local, Password-Location = SQL'. See
http://www.gnu.org/software/radius/manual/html_node/radius_81.html

Regards,
Sergey