Re: Problem with authentication with rlm_perl

2008-03-15 Thread Phil Mayers
++[eap] returns noop ++[expiration] returns noop ++[logintime] returns noop You've removed the PAP module from the sites-available/default "authorize" stanza, so this happens: auth: No authenticate method (Auth-Type) configuration found for the Put the "pap" module back where it was. - Lis

Re: Problem with authentication

2007-12-13 Thread Pablo Lucchetti
Thanks a lot Ivan! Now is working fine. Cheers, Pablo [EMAIL PROTECTED] wrote: No. This is how default sql.conf looks like: http://www.freeradius.org/radiusd/raddb/sql.conf You have deleted all that makes this module function. Ivan Kalik Kalik Informatika ISP Dana 13/12/2007, "Pablo Lucch

Re: Problem with authentication

2007-12-13 Thread tnt
No. This is how default sql.conf looks like: http://www.freeradius.org/radiusd/raddb/sql.conf You have deleted all that makes this module function. Ivan Kalik Kalik Informatika ISP Dana 13/12/2007, "Pablo Lucchetti" <[EMAIL PROTECTED]> piše: >That's all Ivan. > >[EMAIL PROTECTED] wrote: >> Is

Re: Problem with authentication

2007-12-13 Thread Pablo Lucchetti
That's all Ivan. [EMAIL PROTECTED] wrote: Is that the whole sql.conf? Where are the queries? Ivan Kalik Kalik Informatika ISP Dana 13/12/2007, "Pablo Lucchetti" <[EMAIL PROTECTED]> piše: gessuttia:/etc/freeradius# vim sql.conf sql { driver = "rlm_sql_mysql" server = "127.0.

Re: Problem with authentication

2007-12-13 Thread tnt
Is that the whole sql.conf? Where are the queries? Ivan Kalik Kalik Informatika ISP Dana 13/12/2007, "Pablo Lucchetti" <[EMAIL PROTECTED]> piše: >gessuttia:/etc/freeradius# vim sql.conf >sql { > driver = "rlm_sql_mysql" > > server = "127.0.0.1" > login = "dbuser" >

Re: Problem with authentication

2007-12-13 Thread tnt
sqltrace = yes? Ivan Kalik Kalik Informatika ISP Dana 13/12/2007, "Pablo Lucchetti" <[EMAIL PROTECTED]> piše: >I tuned On sqltrace but nothing occurs :( > >mysql> select * from radreply; >++---+---++---+ >| id | UserName | Attribute | op | Va

Re: Problem with authentication

2007-12-13 Thread Pablo Lucchetti
gessuttia:/etc/freeradius# vim sql.conf sql { driver = "rlm_sql_mysql" server = "127.0.0.1" login = "dbuser" password = "dbpass" radius_db = "radius" acct_table1 = "radacct" acct_table2 = "radacct" postauth_table = "radpostauth" authcheck_ta

Re: Problem with authentication

2007-12-13 Thread Pablo Lucchetti
I tuned On sqltrace but nothing occurs :( mysql> select * from radreply; ++---+---++---+ | id | UserName | Attribute | op | Value | ++---+---++---+ | 1 | test-user | Framed-IP-Address | = |

Re: Problem with authentication

2007-12-13 Thread tnt
Switch on sqltrace in sql.conf and see what happened with the queries. You do have a password for this user in radcheck table? You have posted just radreply table. Ivan Kalik Kalik Informatika ISP Dana 13/12/2007, "Pablo Lucchetti" <[EMAIL PROTECTED]> piše: > >rad_recv: Access-Request packet fr

Re: Problem with authentication

2007-12-13 Thread Pablo Lucchetti
rad_recv: Access-Request packet from host 192.168.1.109:1601, id=6, length=49 User-Name = "test-user" User-Password = "test-pass" rad_lowerpair: User-Name now 'test-user' rad_lowerpair: User-Password now 'test-pass' rad_rmspace_pair: User-Name now 'test-user' rad_rmspace_pair

Re: Problem with authentication

2007-12-13 Thread tnt
OK. Capital X ==> radiusd -X. And send from the point the request is received - you can skip the server startup. Ivan Kalik Kalik Informatika ISP Dana 13/12/2007, "Pablo Lucchetti" <[EMAIL PROTECTED]> piše: >gessuttia:~# freeradius -x >Starting - reading configuration files ... >Using deprecate

Re: Problem with authentication

2007-12-13 Thread Pablo Lucchetti
gessuttia:~# freeradius -x Starting - reading configuration files ... Using deprecated naslist file. Support for this will go away soon. Module: Loaded PAP Module: Instantiated pap (pap) Module: Loaded CHAP Module: Instantiated chap (chap) Module: Loaded MS-CHAP Module: Instantiated mschap (mscha

Re: Problem with authentication

2007-12-13 Thread tnt
Send radiusd -X output. Have you done something to sql.conf apart from database connection details? Ivan Kalik Kalik Informatika ISP Dana 13/12/2007, "Pablo Lucchetti" <[EMAIL PROTECTED]> piše: >Hi, > >I've a Freeradius on a Debian Etch with Mysql but when I'm triying to >test with NTRadPing al

Re: Problem with authentication

2007-12-13 Thread Pablo Lucchetti
mysql> SELECT id, UserName, Attribute, Value, op FROM radcheck WHERE Username = 'test-user' ORDER BY id; ++---+---+---++ | id | UserName | Attribute | Value | op | ++---+---+---++ | 1 | test-user | user-password |

Re: Problem with authentication

2007-12-13 Thread CoMeC
Hey, I am not sure, no specialist, but try to make this query in your mysql: "SELECT id, UserName, Attribute, Value, op FROM radcheck WHERE Username = 'test-user' ORDER BY id" Make sure, that your mysql server/login/password/database are correct. Take a look how is you password handled... clear-

Re: Problem with Authentication !!!

2006-05-19 Thread Alan DeKok
emerson <[EMAIL PROTECTED]> wrote: > The problem is, my ap authenticate ok, but the clients linked on AP, it`s > associated, but not log this, on freeradius, and any user, i`m tryng to use, > it`s accept The radius not respect, only users in table mysql... > > My LOG with "radiusd -X"

Re: Problem with authentication EAP/TLS !!!

2006-05-18 Thread Alan DeKok
emerson <[EMAIL PROTECTED]> wrote: > My AP is a Ovislink wl5460AP, it's authenticate better, but the client linked > on AP cause this error below: > * > Info: rlm_eap_md5: Issuing Challenge > Mon May 15 14:47:29 2006 : Error: TLS_accept:error in SSLv3 read client >