Re: Debian + Exec-Program = Zombie process

2006-01-17 Thread Rashad Rustamoff
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

Session-Timeout zero value

2005-08-03 Thread Rashad Rustamoff
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

Session-Timeout zero value

2005-08-02 Thread Rashad Rustamoff
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

RE: dialup_admin problem

2005-07-01 Thread Rashad Rustamoff
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

RE: dialup_admin problem

2005-07-01 Thread Rashad Rustamoff
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

external script in defunct state after execution

2005-06-28 Thread rashad
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

external script goes in defunct state in 1.0.4

2005-06-27 Thread rashad
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 executing

2005-06-27 Thread rashad
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

Re: make error /usr/bin/ld: cannot find -lz

2005-06-24 Thread rashad
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

mysql submodule disabled during ./configure

2005-06-23 Thread rashad
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

mysqld.sock path problem

2005-06-23 Thread rashad
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

mysql submodule problem

2005-06-23 Thread rashad
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

mysqld.sock path problem

2005-06-23 Thread rashad
/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

Re: Kick users offline

2005-05-24 Thread rashad
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

Need help for Expiration attr

2005-01-31 Thread rashad
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

Expiration attribute

2005-01-28 Thread rashad
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;

Expiration attribute

2005-01-28 Thread rashad
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

Expire attribute

2005-01-26 Thread rashad
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

doing sql query after authentification and before reply

2005-01-12 Thread rashad
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

Re: doing sql query after authentification and before reply

2005-01-12 Thread rashad
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

RE: doing sql query after authentification and before reply

2005-01-12 Thread rashad
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

post-auth section of radiusd.conf

2005-01-11 Thread rashad
Hi people. Can anyone give an additional information about how post-auth section of radiusd.conf works, especially about Post-Auth-Type REJECT {} part.

acct_users file is not working

2005-01-04 Thread rashad
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 =

acct_users file is not working

2005-01-04 Thread rashad
Sorry, but it not working in anyway. What configuration directives affected on executing external programs?

Freeradius 1.0.1 + Debian Woody V3R2 + Problem Install

2004-11-06 Thread rashad
You have to install libmysqlclient-dev and zliblg packages.

Build problem on Debian 3

2004-11-01 Thread rashad
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