help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] [ address@hidden ] DV_AUTH_TYPE_SQL, DV_AUTH_TYPE_


From: Georges Arnould
Subject: Re: [Help-gnu-radius] [ address@hidden ] DV_AUTH_TYPE_SQL, DV_AUTH_TYPE_CRYPT_LOCAL and DV_AUTH_TYPE_LOCAL
Date: Fri, 4 Nov 2005 14:59:00 +0100
User-agent: Internet Messaging Program (IMP) 3.1

Sergey, you were right about my failure in reading the doc.

I read that given page and added "DEFAULT         Auth-Type = Local,
Password-Location = SQL" as the only entry of my users file (other lines are
commented).

When I start radius (1.2.95), the log says :

---
Nov 04 14:28:20 Main.error: /usr/local/radius-1.2.95/etc/raddb/users:10: parse 
error
Nov 04 14:28:20 Main.error: discarding user `DEFAULT'
Nov 04 14:28:20 Main.info: /usr/local/radius-1.2.95/etc/raddb/users reloaded.
Nov 04 14:28:20 Main.error: USER LIST IS EMPTY
---

I have the same behaviour if the user-name is "me", replacing "DEFAULT".

Is it a problem of release (I am using 1.2.95 and not 1.3) ?

Regards,

Georges


> Selon Sergey Poznyakoff <address@hidden>:
> Georges Arnould <address@hidden> 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
> 







reply via email to

[Prev in Thread] Current Thread [Next in Thread]