Re: Mysql error

2007-12-23 Thread Pablo Lucchetti

Yes I've.

[EMAIL PROTECTED] wrote:

Have you configured sql server connection details in sql.conf?

Ivan Kalik
Kalik Informatika ISP


Dana 22/12/2007, "Pablo Lucchetti" <[EMAIL PROTECTED]> piše:


Hi,
I've an error with mysql, I think is php mysql client.
I did upgrade to php5 but the erros remains the same.
Mysql is  Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using
readline 5.2


rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED]:/radius
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
rlm_sql_mysql: Starting connect to MySQL server for #0
rlm_sql_mysql: Couldn't connect socket to MySQL server [EMAIL PROTECTED]:radius
rlm_sql_mysql: Mysql error 'Client does not support authentication
protocol requested by server; consider upgrading MySQL client'
rlm_sql (sql): Failed to connect DB handle #0
rlm_sql (sql): starting 1
rlm_sql (sql): starting 2
rlm_sql (sql): starting 3
rlm_sql (sql): starting 4
rlm_sql (sql): Failed to connect to any SQL server.
Module: Instantiated sql (sql)
Module: Loaded Acct-Unique-Session-Id
 acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address,
Client-IP-Address, NAS-Port"
Module: Instantiated acct_unique (acct_unique)
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.


Any help?


Thanks in advance
Pablo
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html




-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

__ Información de NOD32, revisión 2744 (20071223) __

Este mensaje ha sido analizado con  NOD32 antivirus system
http://www.nod32.com




-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RES: Looking for feedback

2007-12-23 Thread Toledo, Luis Carlos
> Firstly, please do not "top post".
> 
> Secondly, your reply doesn't actually explain anything new 
> nor ask any additional questions. Maybe you should be clearer :-)
> 
> Cheers

Sorry, for my top port.
My reply was very short and not more cleared because I belive it´s not a
directly freeradius subject.


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Mysql error

2007-12-23 Thread Norbert Wegener

Maybe this helps:
http://dev.mysql.com/doc/refman/5.0/en/old-client.html

Norbert Wegener


Pablo Lucchetti wrote:

Hi,
I've an error with mysql, I think is php mysql client.
I did upgrade to php5 but the erros remains the same.
Mysql is  Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using 
readline 5.2



rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and 
linked

rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED]:/radius
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
rlm_sql_mysql: Starting connect to MySQL server for #0
rlm_sql_mysql: Couldn't connect socket to MySQL server 
[EMAIL PROTECTED]:radius
rlm_sql_mysql: Mysql error 'Client does not support authentication 
protocol requested by server; consider upgrading MySQL client'

rlm_sql (sql): Failed to connect DB handle #0
rlm_sql (sql): starting 1
rlm_sql (sql): starting 2
rlm_sql (sql): starting 3
rlm_sql (sql): starting 4
rlm_sql (sql): Failed to connect to any SQL server.
Module: Instantiated sql (sql)
Module: Loaded Acct-Unique-Session-Id
 acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, 
Client-IP-Address, NAS-Port"

Module: Instantiated acct_unique (acct_unique)
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.


Any help?


Thanks in advance
Pablo
-
List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: freeradius and active directory

2007-12-23 Thread Alan DeKok
Rutger Beyen wrote:
> So where do I specify them and how should a query look like ?

  For simple mapping of LDAP attributes to RADIUS, see 'ldap.attrmap'.

  For complex queries, see doc/variables.txt, and just put the LDAP
queries into an dynamically expanded string:

DEFAULT
Reply-Message = "LDAP stuff is %{ldap:  query ...}"

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Mysql error

2007-12-23 Thread tnt
Have you configured sql server connection details in sql.conf?

Ivan Kalik
Kalik Informatika ISP


Dana 22/12/2007, "Pablo Lucchetti" <[EMAIL PROTECTED]> piše:

>Hi,
>I've an error with mysql, I think is php mysql client.
>I did upgrade to php5 but the erros remains the same.
>Mysql is  Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using
>readline 5.2
>
>
>rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
>rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED]:/radius
>rlm_sql (sql): starting 0
>rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
>rlm_sql_mysql: Starting connect to MySQL server for #0
>rlm_sql_mysql: Couldn't connect socket to MySQL server [EMAIL PROTECTED]:radius
>rlm_sql_mysql: Mysql error 'Client does not support authentication
>protocol requested by server; consider upgrading MySQL client'
>rlm_sql (sql): Failed to connect DB handle #0
>rlm_sql (sql): starting 1
>rlm_sql (sql): starting 2
>rlm_sql (sql): starting 3
>rlm_sql (sql): starting 4
>rlm_sql (sql): Failed to connect to any SQL server.
>Module: Instantiated sql (sql)
>Module: Loaded Acct-Unique-Session-Id
>  acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address,
>Client-IP-Address, NAS-Port"
>Module: Instantiated acct_unique (acct_unique)
>Listening on authentication *:1812
>Listening on accounting *:1813
>Ready to process requests.
>
>
>Any help?
>
>
>Thanks in advance
>Pablo
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: freeradius and active directory

2007-12-23 Thread Rutger Beyen
Thanks!

> You don't.  You do LDAP queries.

So where do I specify them and how should a query look like ?


Rutger

-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
us.org] On Behalf Of Alan DeKok
Sent: Sunday, December 23, 2007 1:03 AM
To: FreeRadius users mailing list
Subject: Re: freeradius and active directory

Rutger Beyen wrote:
> If I have to contact the AD with the ldap protocol for the vlan, why can't
I
> just use that way to verify the user's credentials?

  AD can verify credentials, if FreeRADIUS sees a clear-text password in
the RADIUS request.

  Otherwise, it's impossible.  AD is *not* an LDAP server, even though
it appears to be one.

> The use Ntlm must be configured in radiusd.conf, but how and were do I
> configure the ldap bind to get the users group and define the vlan?

  You don't.  You do LDAP queries.

  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