Hi Alan,

Well, I�ve done what you told me and I still have problems. Now I have the
feeling that I�m doing something wrong.

I reinstalled everything and I have  inserted just one record into the
database:

mysql> insert into radcheck set
username=�david�,attribute=�crypt-password�,value=encrypt(�david�,�da�);

When I run radtest sending the correct username and password, I get a reject
packet. If I insist I get an accept after 4 or 5 tries.

I thought it could be related to some kind of request timeout but even if I
wait I get that problem.

If I give a wrong password, I get a reject, BUT sometimes I get an accept.

I have run the following radtest command:

 % radtest david david localhost 1812 testing123

The problem is that I can�t test using the real NAS because that would be
really annoying for my clients.

I need to use mysql because we are writing a PHP/mysql  administration
frontend and also need to easily restrict different kinds of behaviours
(dial-up, ISDN, MPPP, etc)

Can you help me again confirming the minimum sql tables I need to fill in
order to make a simple system work ?

What I don't understand is the inconsistency of the results, because it
looks like it is related to the sql module.
Regards,

David Eusse
-- 
*******************************************************

David F. Eusse Uribe
Gerente General

Calipso Proveedor Internet
Servicios Profesionales y Empresariales de Internet

http://www.calipso.com.co

*******************************************************



> 
> From: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 27 Jul 2001 17:23:55 -0400
> To: [EMAIL PROTECTED]
> Subject: Re: Mysql Freeradius authentication
> 

> David Eusse <[EMAIL PROTECTED]> wrote:
>> I have performed two different installs in different machines. I=B9m using RH
>> 7.1 with mysql 3.23.36 and freeradius 0.1
> 
> Upgrade to the latest CVS snapshot, and I believe that the problem
> will go away.  The code has been updated significantly.
> 
> Hmm.. is it time to release 0.2?
> 
> 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

Reply via email to