Re: Why Freeradius and Mysql dont work?

2007-01-28 Thread YvesDM
On 1/29/07, satish patel <[EMAIL PROTECTED]> wrote: Install mysql again Did you compile FR yourself? Did you install the mysql-dev files? Kind regards, Yves - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Why Freeradius and Mysql dont work?

2007-01-28 Thread satish patel
Install mysql again yao guoxian <[EMAIL PROTECTED]> wrote: Thanks again. The file "/var/lib/mysql/mysql.sock" does not exist.When I use an IP in sql.conf instead of the "localhost", I get the following result: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked rlm

RE: Why Freeradius and Mysql dont work?

2007-01-28 Thread satish patel
this is problem of mysql configuration check /etc/my.cnf file for socket path and check your mysql working ??? or some mysql put mysql.sock file in /tmp/mysql.sock so plz check where your sock file in your env ? install mysql again and try it Edvin Seferovic <[EMAIL PROTECTED]> wrote:

RE: Why Freeradius and Mysql dont work? [unclas]

2007-01-28 Thread Ranner, Frank MR
Use the socket method. If you don't know where the socket file is try: find / -name mysql.sock It will probably be in /tmp if it isn't in /var/lib/mysql regards Frank Ranner From: [EMAIL PROTECTED] g [mailto:[EMAIL PROTECTED] adius.org] On Behalf Of

Re: Why Freeradius and Mysql dont work?

2007-01-28 Thread yao guoxian
Thanks again. The file "/var/lib/mysql/mysql.sock" does not exist.When I use an IP in sql.conf instead of the "localhost", I get the following result: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED]:/radius

RE: Why Freeradius and Mysql dont work?

2007-01-28 Thread Edvin Seferovic
rlm_sql_mysql: Mysql error 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' rlm_sql (sql): Failed to connect DB handle #0 rlm_sql (sql): Failed to connect to any SQL server. your socket file is not in the place.. maybe you should use an IP in your sql.conf inst

Re: The EAP Saga begins.

2007-01-28 Thread Evan Vittitow
> > To repeat my previous email - xsupplicant does not have a CA cert that > allows it to trust the server. > > The line: > > Loaded root certificate /etc/raddb/certs/cert-clt.pem > > ...looks wrong. It looks as if you've told xsupp that the CA cert is > the client cert, which it isn't. They're di

Re: Why Freeradius and Mysql dont work?

2007-01-28 Thread yao guoxian
Sorry. The debug result I listed is only the response to access request. The original display of "radiusd -X" is as follows: Starting - reading configuration files ... reread_config: reading radiusd.conf Config: including file: /usr/local/etc/raddb/proxy.conf Config: including file: /usr

Re: Why Freeradius and Mysql dont work?

2007-01-28 Thread yao guoxian
Thanks for reply. The startup message(in debug mode) on my machine: sql: safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /" rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED

detail module - detailfile problem

2007-01-28 Thread tzieleniewski
Hi! I am trying to set the destination file for detail log file in the detail file module in the following way detailfile = ${radacctdir}/%{check:Huntgroup-Name}/detail-%Y%m but radius instead allways writes to the following destination?? rlm_detail: %A/%{Client-IP-Address}/detail expands to /va

Re: The EAP Saga begins.

2007-01-28 Thread Phil Mayers
Evan Vittitow wrote: I got a "Lull" in my school work long enough such that I can work on Free Radius, homework combined with minor Illness did that. Allright, just so everyone is on the same page. I want to implement Host based 802.1X with PEAP or EAP-TLS. Currently, all my Samba Hosts have a O

Re: 2GB problems

2007-01-28 Thread Tas Dionisakos
I have just applied the patch yet it still doesn't work, it produces the same result. It is still producing a negative value, are there any workarounds? Tas. Alan DeKok wrote: Tas Dionisakos wrote: I have setup a captive portal with mysql,chilli, and freeradius. My portal allows users a

Re: The EAP Saga begins.

2007-01-28 Thread Evan Vittitow
I got a "Lull" in my school work long enough such that I can work on Free Radius, homework combined with minor Illness did that. Allright, just so everyone is on the same page. I want to implement Host based 802.1X with PEAP or EAP-TLS. Currently, all my Samba Hosts have a Object in the LDAP datab

Re: Why Freeradius and Mysql dont work?

2007-01-28 Thread A . L . M . Buxey
Hi, > 3.Edit radiusd.conf and sql.conf; > Debug Result: > Nothing to do. Sleeping until we see a request. no. thats not the debug result. you've edited all the lines before that output. alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: strange error in freeradius

2007-01-28 Thread Markus Krause
Zitat von Semenenko Pavel <[EMAIL PROTECTED]>: I have 2.6.18-gentoo-r6 kernel, and freeradius-1.1.3-r2 I correctly configure radius for working with certificates in debug mode (radiusd -fX), then add it into init scripts, and try to start... Ooops!.. it don't start ;( # /usr/sbin/radiusd Su

Re: strange error in freeradius

2007-01-28 Thread Markus Krause
Zitat von Semenenko Pavel <[EMAIL PROTECTED]>: I have 2.6.18-gentoo-r6 kernel, and freeradius-1.1.3-r2 I correctly configure radius for working with certificates in debug mode (radiusd -fX), then add it into init scripts, and try to start... Ooops!.. it don't start ;( # /usr/sbin/radiusd Su

strange error in freeradius

2007-01-28 Thread Semenenko Pavel
I have 2.6.18-gentoo-r6 kernel, and freeradius-1.1.3-r2 I correctly configure radius for working with certificates in debug mode (radiusd -fX), then add it into init scripts, and try to start... Ooops!.. it don't start ;( # /usr/sbin/radiusd Sun Jan 28 20:58:13 2007 : Info: Starting - reading con

Re: Why Freeradius and Mysql dont work?

2007-01-28 Thread Markus Krause
Zitat von yao guoxian <[EMAIL PROTECTED]>: Platform and Environment: Freeradius:1.0.5 on Redhat 9 MySQL:MySQL-standard-5.0.20-linux-i686 Step: 1. create database radius; 2.mysql -uroot -prootpass radius < db_mysql.sql ; 3.Edit radiusd.conf and sql.conf; Debug Result: Nothing t

Why Freeradius and Mysql dont work?

2007-01-28 Thread yao guoxian
Platform and Environment: Freeradius:1.0.5 on Redhat 9 MySQL:MySQL-standard-5.0.20-linux-i686 Step: 1. create database radius; 2.mysql -uroot -prootpass radius < db_mysql.sql ; 3.Edit radiusd.conf and sql.conf; Debug Result: Nothing to do. Sleeping until we see a request. rad_r

Re: expiration attribute as an offset?

2007-01-28 Thread liran tal
Very nice, thank you Alan. On 1/28/07, Alan DeKok <[EMAIL PROTECTED]> wrote: liran tal wrote: > > Interesting. > I actually wouldn't want to go into involving scripts Well, then you won't implement a solution, I guess. > but this gets me > curious - what would be the way to > run a script

Re: expiration attribute as an offset?

2007-01-28 Thread Alan DeKok
liran tal wrote: > > Interesting. > I actually wouldn't want to go into involving scripts Well, then you won't implement a solution, I guess. > but this gets me > curious - what would be the way to > run a script on the first login? This is something freeradius related, > isn't it? Uh... ye

Re: TTLS-PAP authentication with LDAP bind

2007-01-28 Thread Alan DeKok
Richard Hesse wrote: > If I force the Mac or Windows supplicants to use TTLS-PAP, the request is > never > passed to radiusd. The NAS is broken. > I don't know what's going on but my AP (Aruba 200) seems to be detecting that > something isn't right with its AAA server Disable the Aruba AAA

Re: SEVERE! radiusd 2.0 and 1.1.4 dying! Segmentation fault

2007-01-28 Thread Alan DeKok
Guilherme Franco wrote: > The strange thing is that even when the accounting is off (with low > load then) the error appears randomly. > > Also, if the proxy realm dies the problem occurs too. ... > I can't give you a gdb because the server is running fine now, but who > knows when it may happen..

Re: expiration attribute as an offset?

2007-01-28 Thread liran tal
Interesting. I actually wouldn't want to go into involving scripts but this gets me curious - what would be the way to run a script on the first login? This is something freeradius related, isn't it? Thanks. On 1/23/07, Alan DeKok <[EMAIL PROTECTED]> wrote: liran tal wrote: > Is it possible t