as soon as I send accounting stop packet to radius, test.pl executes and
becomes a zombie. (I tried bash script, c program with the same result.)
3890 ?Ss 0:00 /usr/local/freeradius/sbin/radiusd
3893 ?Z 0:00 \_ [test.pl] defunct
As far as I know, this should have
mailing list
Subject: Re: Session-Timeout zero value
Rashad Rustamoff [EMAIL PROTECTED] wrote:
I'm wonder is it correct to reject user by setting Session-Timeout
attribute
to zero.
No.
In case of our NAS it works fine.
That's blind luck.
Alan DeKok.
-
List info/subscribe/unsubscribe
I'm wonder is it correct to reject user by setting Session-Timeout attribute
to zero.
In case of our NAS it works fine.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
You must point to actual IP address (or FQDN) of machine where mysql server
running.
To do this edit this line in admin.conf:
sql_server: fully.qualified.domain.name.of.server
If your web server running in the same machine where mysql server is
running:
sql_server: 127.0.0.1
I am using
Check mysql logs. If mysql server refuses connection by any reason you will
see it in logs.
Standard location of mysql logs in mysql data directory. Normal operations
are logged in file your_machine_name.log, errors in your_machine_name.err.
-
List info/subscribe/unsubscribe? See
Dear developers.
Downgrading from 1.0.4 to 1.0.1 without touching anything else solves the
problem.
So, which version I must use? Is it a bug?
Regards, Rashad
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
This problem persists in ver 1.0.4 too.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
External script stays in defunct state after successfull executing.
My configuration:
OS: Debian Linux 3.0
Freeradius: 1.0.4
acct_users file:
DEFAULT Acct-Status-Type == Stop
Exec-Program = /usr/local/sbin/testacct.php
Note that this problem was not in my old freeradius 1.0.1
Install zlib library for your system.
make faild with this error...
gcc -shared sql_mysql.lo -L/usr/lib -L/usr/lib/mysql
/usr/lib/libmysqlclient.so -lz -lm -lssl -lcrypto -Wl,-soname -Wl,rlm_sql_my
sql-1.0.1.so -?o .libs/rlm_sql_mysql-1.0.1.so
/usr/bin/ld: cannot find -lz
collect2: ld returned 1
I have MySQL 4.1.12 installed from binary distribution in Debian Linux and
I'm trying to install freeradius 1.0.4
Include and lib path for MySQL are correct:
./configure --with-mysql-include-dir=/usr/local/mysql/include --with-mysql-l
ib-dir=/usr/local/mysql/lib
But output of configure script
freeradius can't connect to mysqld due to incorrect mysqld.sock path.
rlm_sql_mysql: Couldn't connect socket to MySQL server [EMAIL PROTECTED]:radius
rlm_sql_mysql: Mysql error 'Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2)'
rlm_sql (sql): Failed to connect
problem was here:
checking for mysql/mysql.h... yes
checking for mysql_init in -lmysqlclient... no
configure: warning: mysql libraries not found.
When freeradius installation process can't find mysqlclient he thinks that
libraries are missing (these are different things).
Installing
/var/run/mysqld/mysqld.sock is the usual location of that socket. Every
program that wants to connect to mysqld through socket will per default
use that one. I dunno why you set mysql to place the socket to
/tmp/mysqld.sock.
It's not my choice. Latest MySQL binary distribution ver. 4.1.12 uses
At authorization stage FreeRADIUS calculates and sends proper
Session-Timeout attribute to Access Server that tells him how long user can
stay online. This calculations done using attributes such as Login-Time,
Expiration, Session-Timeout and current time. If user's time is over limit
but he still
What date/time formats allowed for Expiration attribute? Is it possible to
use UNIX timestamp format (number of seconds since UNIX epoch) or any
date/time format supported by MySQL?
For exampe 'January 28 2005 12:00:00' in radcheck table works fine but
'2005-01-28 12:00:00' doesn't.
mysql select
What date/time formats allowed for Expiration attribute? Is it possible to
use UNIX timestamp format (number of seconds since UNIX epoch)?
For exampe 'January 28 2005 12:00:00' in radcheck table works fine but
'2005-01-28 12:00:00' doesn't.
mysql select * from radcheck;
What date/time formats allowed for Expiration attribute? Is it possible to
use UNIX timestamp format (number of seconds since UNIX epoch) or any
date/time format supported by MySQL?
For exampe 'January 28 2005 12:00:00' in radcheck table works fine but
'2005-01-28 12:00:00' doesn't.
mysql select
I want some users account to be expired starting from certain date. Someone
wrote in mailing list that there are an Expire check attribute for this
purpose but I can't find any doc about it. Can anyone give the detailed doc
about this attribute?
-
List info/subscribe/unsubscribe? See
I want to run external program when some user
successfully authentificated and do someSQL queriesin this program,
sayto setnew value for Session-Timeout in the
tableradreply. But I want this queries to be done
before sending reply packet to NAS, so the updated value of
Session-Timeoutmust
Please send plain text mail.
This can be done with Exec-Program-Wait =3D /path/to/your/script in =
the reply items.
The script can then output extra attributes which will be added to the =
reply.
Thanks.
But where I must do configuration changes for Exec-Program-Wait?
-
List
rashad wrote:
But where I must do configuration changes for Exec-Program-Wait?
See doc/README
Thank you very much!
It's exactly that I want.
Best regards,
Rashad Rustamoff
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hi people.
Can anyone give an additional information about how
post-auth section of radiusd.conf works, especially about Post-Auth-Type REJECT
{} part.
Hi people.
I have a radius server installed and working
correctly.
Now I want an external program to be executed every
time when accounting stop packet received as described in acct_users file. Here
are my configuration:
file: acct_users
DEFAULT Acct-Status-Type ==
Stop Exec-Program =
Sorry, but it not working in anyway.
What configuration directives affected on executing
external programs?
You have to install libmysqlclient-dev and zliblg packages.
Build process breaks down at following point:
/root/freeradius/freeradius-1.0.1/libtool --mode=link gcc -release 1.0.1 \
-module -export-dynamic -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D
OP
ENSSL_NO_KRB5 -I../.. -I../../../../include \
-I'/usr/include/mysql' -o rlm_sql_mysql.la
26 matches
Mail list logo