Re: radzap in FreeBSD

2005-01-11 Thread Luiz Gustavo Anflor Pereira
> mute point. > > On Tue, 2005-11-01 at 13:53 +0100, [EMAIL PROTECTED] wrote: >> Luiz Gustavo Anflor Pereira schrieb: >> >> > There is some problem about radzap 0.9.1 in a FreeBSD >> > system? >> > Why it does not zap the users from radutmp? >&

radzap in FreeBSD

2005-01-10 Thread Luiz Gustavo Anflor Pereira
Hello all There is some problem about radzap 0.9.1 in a FreeBSD system? Why it does not zap the users from radutmp? Do you know anything about freeradius-snapshot-20030514? thank you very much! Luiz Gustavo - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

snapshot 20030514

2005-01-06 Thread Luiz Gustavo Anflor Pereira
Hello all Do you know anything about the freeradius-snapshot-20030514? I found it in my FreeBSD server. I am trying to compile it in Linux, but i find many errors. thanks for any information, Luiz Gustavo - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: radzap problem

2005-01-04 Thread Luiz Gustavo Anflor Pereira
Hello guys I would like to know if there is some difference in the source code of freeradiusd 0.9.1, or in compilation options, between linux and freeBSD, because when i run radzap, compiled by the same code, in linux it works, in FreeBSD does not. thanks very much, Luiz Gustavo - List info/

radzap 0.9.1 in FreeBSD

2004-12-30 Thread Luiz Gustavo Anflor Pereira
Hello all I have been exchanging emails with you about my problemas with radzap and the dependent libraries. I think I should explain my goals better. What do i need to do? :-) We have freeradius 0.9.1 running on FreeBSD. In this server we cannot zap the users, radzap does not work. I installe

Re: dependent libraries

2004-12-30 Thread Luiz Gustavo Anflor Pereira
Ok, the path is /usr/local/lib/rlm_sql_mysql.a What's next? What do i do? I tried to configured it again, with ./configure --disable-shared --with-mysql-lib-dir=/usr/local/lib but the result was not different... > On Thu, 30 Dec 2004 12:22:01 -0200 (BRST), Luiz Gustavo Anflor

Re: radzap problem

2004-12-30 Thread Luiz Gustavo Anflor Pereira
Hello I had this problem too. I found that in the newer versions of freeradius, the read_mainconfig function (in the src/main/mainconfig.c) tests if the port of radiusd is free. If it is not, then exits the program. The problem is that radzap uses the same function. So, radiusd is running, you

Re: dependent libraries

2004-12-30 Thread Luiz Gustavo Anflor Pereira
And how can i check if they are already installed? > I think you need the MySQL development libraries installed if your > compiling > [EMAIL PROTECTED] 30/12/2004 13:45:12 >>> > > I am trying to compile freeradius 0.9.1, I know tha this is not the > last version, > but i can't change it.

dependent libraries

2004-12-30 Thread Luiz Gustavo Anflor Pereira
I am trying to compile freeradius 0.9.1, I know tha this is not the last version, but i can't change it... I configured with ./configure --disable-shared and then make and make install. But when i call radiusd -X, i got the error: rlm_sql (sql): Could not link driver rlm_sql_mysql: rlm_sql_my

Re: problems with radutmp

2004-12-28 Thread Luiz Gustavo Anflor Pereira
tried this in the release 0.9.1, and it seems to me that this old version did not have this bug... The radzap worked well... Luiz Gustavo > "Luiz Gustavo Anflor Pereira" <[EMAIL PROTECTED]> wrote: >> Are radzap and the radiusd server on the same machine? I have this &

Re: problems with radutmp

2004-12-24 Thread Luiz Gustavo Anflor Pereira
:39:58AM -0200, Luiz Gustavo Anflor Pereira wrote: >> I am using freeradius 1.0.1. > >> Let me try to understand. If a client loses its connection, we can use >> radzap to >> comunicate with the NAS. Then it sends back a stop packet, and the login is >> released. I

Re: problems with radutmp

2004-12-24 Thread Luiz Gustavo Anflor Pereira
the mysql function RIGHT(%{Acct-Session-Id}, 8). But in which query? And if we use it, the checkrad is gonna work? When the checkrad is runned? thanks again. Luiz Gustavo > On Mon, Dec 20, 2004 at 02:19:11PM -0200, Luiz Gustavo Anflor Pereira wrote: >> >> hello all >>

problems with radutmp

2004-12-20 Thread Luiz Gustavo Anflor Pereira
hello all I have a problema concerning radutmp. Here is the situation: The command " radwho | grep 7969 " gives me the output: rsf7969rsf7969 PPP >999 Fri 16:20 200.96.10 If i use the option "-r", so "radwho -r | grep 7969", the output is: rsf7969,rsf7969,PPP,S-2145975988,Fri 1

the client must send it

2004-12-07 Thread Luiz Gustavo Anflor Pereira
Hello all I want o verify if my client is sending some attributes. If it is not, the request must be rejected. I want the client always to send its NAS-Port-Type, I have tried with the checkval option in radiusd.conf, but it has not worked. So I am trying to change the code. I was looking in

checking NAS-Port-Type on freeradius

2004-11-23 Thread Luiz Gustavo Anflor Pereira
I want to check which port the client is using to get conected to. I am using freeradius, and testing with radclient. My test is: cat << EOF | radclient -x localhost auth testing123 User-Name = gollum User-Password = smeagol NAS-IP-Address = localhost NAS-Port-Type = 5 NAS-Port = 0 EOF and I w