Re: rlm_perl hash issue

2005-03-23 Thread Alexander M. Pravking
On Wed, Mar 23, 2005 at 04:22:34PM +0200, Boian Jordanov wrote: Fixed in CVS. Please use recent cvs snapshot. Before rlm_perl expects that scalar value of RAD_xxx hash is character value, now it can be string or integer. There is only one limitation an ip address should be returned as

Re: rlm_perl reply operators

2005-02-26 Thread Alexander M. Pravking
On Fri, Feb 25, 2005 at 02:26:12PM -0500, Dustin Doris wrote: Is there a way to specify different operators when adding something to the $RAD_REPLY hash? Such as. $RAD_REPLY{'Attribute'} = += Value; Currently, no. But you can try: $RAD_REPLY{'Attribute'} = [ 'Value 1', 'Value 2' ]; I had

Re: Hide password

2005-02-01 Thread Alexander M. Pravking
On Tue, Feb 01, 2005 at 11:07:54AM +0100, Nicolas Viers - SCI Limoges wrote: Hello, how to hide User-Password in radacct logs There's no standard way. You can patch rlm_detail sources or use grep -v User-Password on your detail logs. As of debug mode, there's also a lot of places in server

Re: Luscent Portmaster 3

2005-01-13 Thread Alexander M. Pravking
On Fri, Jan 14, 2005 at 02:39:00AM +0300, Martes Wigglesworth wrote: I have had little luck finding this specific inquiry, on the list archives. I am researching to start a dialup ISP, and want to use the luscent portmaster 3 device. I have seen miscellaneous portmaster listings, however, I

Re: how many records in radacct

2004-11-22 Thread Alexander M. Pravking
On Mon, Nov 22, 2004 at 10:10:53PM +0300, Alexander Serkin wrote: Hello, how many records in radacct table do you manage to keep, guys? About of 1.3M without any problem. I see that radius stops working properly after about 15 accounting records in Oracle (9.2.0.4) database or ~3 in

Re: Kill online user

2004-10-13 Thread Alexander M. Pravking
On Wed, Oct 13, 2004 at 02:42:11PM -0600, Guy Fraser wrote: It depends on the type of NAS you are using. On some Cisco Access Servers you can use SNMP to administratively disable the line the user is on then administratively enable the line to allow new connections on it. Even between

Re: Double quoting in sql?

2004-09-29 Thread Alexander M. Pravking
On Wed, Sep 29, 2004 at 08:10:45AM +0200, Oliver Graf wrote: On Fri, Sep 24, 2004 at 10:24:09AM -0400, Alan DeKok wrote: Oliver Graf [EMAIL PROTECTED] wrote: I've upgraded recently from 0.9.3 to 1.0.1. There seems to be one small problem in the sql module: a Username seems to be quoted

Re: Double quoting in sql?

2004-09-24 Thread Alexander M. Pravking
On Fri, Sep 24, 2004 at 09:39:07AM +0200, Oliver Graf wrote: Hi! I've upgraded recently from 0.9.3 to 1.0.1. There seems to be one small problem in the sql module: a Username seems to be quoted two times, first when setting sql_user_name, then when doing the xlat on the whole query. IIRC

Re: Double quoting in sql?

2004-09-24 Thread Alexander M. Pravking
On Fri, Sep 24, 2004 at 12:39:09PM +0200, Oliver Graf wrote: It does not seem that the change which causes this is in rlm_sql.c. I guess it is to search in variable expansion of main/xlat.c. But I currently fail to see the change between 0.9.3 and 1.0.1 where this happened... perhaps I will

Re: [Help] duplicate radacct records in my postgresql database

2004-08-10 Thread Alexander M. Pravking
On Tue, Aug 10, 2004 at 04:18:08PM +0800, ac wrote: I use postgresql to record all the radacct-pkts from the freeradius-0.9.3. But sometimes the record with the same acctuniqueid, acctsessionid appears twice or much more times. I don't know why it happened and how to avoid it.

Re: Many SQL accounts

2004-07-18 Thread Alexander M. Pravking
On Sun, Jul 18, 2004 at 12:53:44PM +0800, Nikolay L. Kirillov wrote: Hi All! In this good sunday I'm trying to start accounting. And have some trouble with freeradius 0.9.3: In 'radiusd.conf' added lines modules { # some other lines $INCLUDE ${confdir}/sql.conf # Instance named

Re: Fall-Through in acct_users

2004-07-13 Thread Alexander M. Pravking
On Tue, Jul 13, 2004 at 11:07:59AM -0400, Alan DeKok wrote: Andrey Lakhno [EMAIL PROTECTED] wrote: It does not work. May be I done something incorrectly ? acct_users: DEFAULT NAS-IP-Address == x.x.x.x, Acct-Status-Type == Stop Exec-Program = /home/voip/aaa/acct_call_generic,

Re: Question about Freeradius and LDAP

2004-07-07 Thread Alexander M. Pravking
On Wed, Jul 07, 2004 at 09:00:00PM +0200, Arthur EBEL wrote: Hi everybody, My freeradius operate very well with an openldap directory All ldap users stored in my basedn=ou=people,ou=personnels,dc=utt,dc=fr can be authenticated. I would like to add another

Re: User's password on radius log

2004-06-07 Thread Alexander M. Pravking
On Sun, Jun 06, 2004 at 10:20:13AM -0400, Alan DeKok wrote: Rattapon Pacharawongsakda [EMAIL PROTECTED] wrote: Is it possible to turn off showing password of each user on freeradius log file? Yes. Search radiusd.conf for password and log. Unfortunately, some modules (e.g.

Re: shared secret length limitation

2004-05-13 Thread Alexander M. Pravking
On Thu, May 13, 2004 at 11:25:34AM +0100, Graeme Hinchliffe wrote: Well assuming JUST the alphabet was used in the same case thats: 16^26 = 20282409603651670423947251286016 possible combinations Sorry for pedantry, not 16^26 but 26^16 = 4.36087428994289e+22 ;-) That is, assuming N is a

Re: User with 2 profiles but different simultaneous-use in each

2004-04-06 Thread Alexander M. Pravking
On Mon, Apr 05, 2004 at 08:16:24PM +0300, Kostas Zorbadelos wrote: Hello to everyone. I have the following problem where I work. We have a user, lets say kzorba that is an ADSL user and has a specific profile (check and reply attributes). We want to limit the Simultaneous-Use of the user for

Re: accounting from alive packets doesn't go to sql

2004-04-06 Thread Alexander M. Pravking
On Tue, Apr 06, 2004 at 10:13:01PM +0400, Alexander Lunyov wrote: AL But it's not affecting sql :( And, while this accounting data is not shows up in AL sql, traffic is leaking! While searching message base of this list i found thread accounting_update_query. Is this query in

Re: accounting from alive packets doesn't go to sql

2004-04-06 Thread Alexander M. Pravking
On Wed, Apr 07, 2004 at 12:36:30AM +0400, Alexander Lunyov wrote: If it so, why default update_query does not include traffic and time update fields? May it be a cause of my problem? AMP Looks like your sql config is too old, current configs (mysql/pg/oracle) AMP do update

Re: Gigawords

2004-04-06 Thread Alexander M. Pravking
On Tue, Apr 06, 2004 at 04:31:30PM -0400, Alan DeKok wrote: Steve Cole [EMAIL PROTECTED] wrote: The dictionaries don't concern me, what I need to do is log them. Unless I'm blind, there is no support for Accounting for them in SQL schema: shrug So add them, and supply a patch to the

Re: how can i limit traffic use?

2004-03-01 Thread Alexander M. Pravking
On Mon, Mar 01, 2004 at 09:22:56AM +0300, Alexander Lunyov wrote: Well, i'm using exppp (http://shs.sumy.ua/, but it's in russian) on FreeBSD box, and exppp understands his own attributes (Exppp-Traffic-Limit and such), and i think it can kick user when traffic exceeds. How can

rlm_mschap: Undefined symbol lrad_lmpwdhash

2004-02-04 Thread Alexander M. Pravking
The following error occurs in authenticate method of rlm_mschap: Wed Feb 4 21:49:54 2004 : Debug: modcall: entering group Auth-Type for request 0 Wed Feb 4 21:49:54 2004 : Debug: modsingle[authenticate]: calling mschap (rlm_mschap) for request 0 /usr/libexec/ld-elf.so.1: