Re: IP billing with freeradius

2007-05-08 Thread Alexander V. Klepikov
Hello, [EMAIL PROTECTED] You wrote on Tue, 08 May 2007 09:38:19 +0100: t This is nothing to do with radius. Use netflow. What about dot1x auth + accounting? Though it may be not so good for servers. With best regards, Alexander V. Klepikov. E-mail: [EMAIL PROTECTED] - List info/subscribe

Non-ascii usernames

2007-04-25 Thread Alexander V. Klepikov
Hello, All! How do I make FreeRadius work correct with non-ascii usernames? With best regards, Alexander V. Klepikov. E-mail: [EMAIL PROTECTED] - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Non-ascii usernames

2007-04-25 Thread Alexander V. Klepikov
Hello, Alan! You wrote on Wed, 25 Apr 2007 08:38:09 +0200: AD Alexander V. Klepikov wrote: How do I make FreeRadius work correct with non-ascii usernames? AD You type them in as UTF-8. This means that my NASes clients should send them in UTF-8, am I right? With best regards, Alexander V

Re: Non-ascii usernames

2007-04-25 Thread Alexander V. Klepikov
Hello, Alan! You wrote on Wed, 25 Apr 2007 09:48:28 +0200: This means that my NASes clients should send them in UTF-8, am I right? AD The NAS just sends whatever the user types into their computer. I got it. Thank you! With best regards, Alexander V. Klepikov. E-mail: [EMAIL PROTECTED

some issues in sqlippool, branch_1_1

2007-04-17 Thread Alexander V. Klepikov
/rlm_sql.h I replaced #include ltdl.h with #include ../../libltdl/ltdl.h to compile FreeRadius. My OS is FreeBSD 6.2-RELEASE, GNU Make 3.81 Patch for items 2 and 3 attached. With best regards, Alexander V. Klepikov. E-mail: [EMAIL PROTECTED] --- doc/examples/postgresql.sql 5 Jan 2007 15:27:05

Re: add realm to user based on NAS-IP

2007-04-02 Thread Alexander V. Klepikov
Suffix !~ @. Realm = %{NAS-Identifier:-unknown} With best regards, Alexander V. Klepikov. E-mail: [EMAIL PROTECTED] - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Redundant SQL servers accounting problem, FreeRadius 1.1.4

2007-03-26 Thread Alexander V. Klepikov
) at radiusd.c:1434 =The end of the citation With best regards, Alexander V. Klepikov. E-mail: [EMAIL PROTECTED] - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Redundant SQL servers accounting problem, FreeRadius 1.1.4

2007-03-26 Thread Alexander V. Klepikov
Hello, Eshun! You wrote on Mon, 26 Mar 2007 14:50:52 + (GMT): EB $ cvs -d :pserver:[EMAIL PROTECTED]:/source login CVS EB password: anoncvs $ cvs -d EB :pserver:[EMAIL PROTECTED]:/source checkout -r branch_1_1 Yes, I already did it, thank you! With best regards, Alexander V. Klepikov

Re: Redundant SQL servers accounting problem, FreeRadius 1.1.4

2007-03-26 Thread Alexander V. Klepikov
Hello, Alan! You wrote on Mon, 26 Mar 2007 10:50:17 +0100: AD I' ve committed a fix to -r branch_1_1. Please test it, to see AD if AD it works. Yes, freeradius works without crashes when DB suddenly comes down and then up. With best regards, Alexander V. Klepikov. E-mail: [EMAIL PROTECTED

Re: Redundant SQL servers accounting problem, FreeRadius 1.1.4

2007-03-22 Thread Alexander V. Klepikov
connection state. But again, I'm not a programmer. With best regards, Alexander V. Klepikov. E-mail: [EMAIL PROTECTED] - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Redundant SQL servers accounting problem, FreeRadius 1.1.4

2007-03-21 Thread Alexander V. Klepikov
Hello, Alan! You wrote on Tue, 20 Mar 2007 12:47:01 +0100: AD Alexander V. Klepikov wrote: I applied the patch and it does not work. It seemes to me, it's becuase SQL socket may be unconnected and sqlsocket-conn != NULL, AD That sounds like a bug to me. It seemes to me I begin

Re: Redundant SQL servers accounting problem, FreeRadius 1.1.4

2007-03-21 Thread Alexander V. Klepikov
patch: [Sorry, skipped] Yes, it solves the problem. Thank you! Very simple solution! But according to Alan it looks like we have discovered a real problem... With best regards, Alexander V. Klepikov. E-mail: [EMAIL PROTECTED] - List info/subscribe/unsubscribe? See http://www.freeradius.org

Re: Redundant SQL servers accounting problem, FreeRadius 1.1.4

2007-03-20 Thread Alexander V. Klepikov
. It seemes to me, it's becuase SQL socket may be unconnected and sqlsocket-conn != NULL, so I think it's better to check sqlsocket-state . Corrected patch is attached. With best regards, Alexander V. Klepikov. E-mail: [EMAIL PROTECTED] patch-src-modules-rlm-sql-sql.c Description: Binary data

Re: Redundant SQL servers accounting problem, FreeRadius 1.1.4

2007-03-19 Thread Alexander V. Klepikov
-config); /* reconnect the socket */ =The end of the citation My tests shows that problem is gone. I hope I patched right piece of code :) With best regards, Alexander V. Klepikov. E-mail: [EMAIL PROTECTED] - List info/subscribe/unsubscribe? See http

Redundant SQL servers accounting problem, FreeRadius 1.1.4

2007-03-16 Thread Alexander V. Klepikov
databases, start FreeRadius and then stop first database listed in redundant group. With best regards, Alexander V. Klepikov. E-mail: [EMAIL PROTECTED] PS Sorry for my bad english - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html