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 <[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 > _______________________________________________ Help-gnu-radius mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gnu-radius
