Re: insert and update 2 database

2002-04-26 Thread Aleksandr Kuzminsky
> any idea to update, and insert in 2 diferent database as the same time You can done this by using replication. Or configure radius like this: --radiusd.conf-- accounting{ ... sql1 sql2 ... } --radiusd.conf-- --- Aleksandr Kuzminsky,AK476-RIPE Sy

Re: Client-IP-Address occasionally incorrect

2002-04-26 Thread Alan DeKok
Oleg Derevenetz <[EMAIL PROTECTED]> wrote: > There is dup, so rad_check_ts() must return 1, and session is > valid. There is no reason to call session_zap(), is'nt it ? The session should be zapped ONLY if checkrad decides that the user is not logged in on that port. > Fri Apr 26 21:30:41 2002

insert and update 2 database

2002-04-26 Thread Victor Sanchez
i need to update 2 database with the data of the radius. y test to put this in the sql file: accounting_start_query = "INSERT into radacct ;INSERT into " but don't work, /etc/raddb/sql.conf[124]: Line is not in 'attribute = value' format any idea to update, and insert in 2 diferent dat

Re: compiling error on FreeBSD-4.5?

2002-04-26 Thread Roy Hooper
ompiler error: program as got fatal signal 4 > > gmake[2]: *** [ltdl.lo] Error 1 > > Your system appears to be broken. It appears to be just his system too. Make ran just fine for freeradius-snapshot-20020426 on my "FreeBSD matchbox.toybox.ca 4.5-RELEASE-p4 FreeBSD 4.5-RELEASE-p4 #0: Tue Ap

Re: Client-IP-Address occasionally incorrect

2002-04-26 Thread Alan DeKok
"Victor Sanchez" <[EMAIL PROTECTED]> wrote: > accounting_start_query = "INSERT into radacct ;INSERT into > " > > when i use it with update work fine, but in a insert say > /etc/raddb/sql.conf[124]: Line is not in 'attribute = value' format > > any idea to update, and insert in 2 diferent databa

Re: Client-IP-Address occasionally incorrect

2002-04-26 Thread Chris Parker
At 08:17 PM 4/26/2002 +0200, Victor Sanchez wrote: >i need to update 2 database with the data of the radius. > >y test to put this in the sql file: > >accounting_start_query = "INSERT into radacct ;INSERT into >" > >when i use it with update work fine, but in a insert say >/etc/raddb/sql.conf[124

Re: Client-IP-Address occasionally incorrect

2002-04-26 Thread Victor Sanchez
i need to update 2 database with the data of the radius. y test to put this in the sql file: accounting_start_query = "INSERT into radacct ;INSERT into " when i use it with update work fine, but in a insert say /etc/raddb/sql.conf[124]: Line is not in 'attribute = value' format any idea to up

Re: Client-IP-Address occasionally incorrect

2002-04-26 Thread Oleg Derevenetz
ãÉÔÉÒÕÀ Oleg Derevenetz <[EMAIL PROTECTED]>: > Hm-m... But I don't understand, how it can call session_zap() in such > case > (checkrad.log): > > Fri Apr 26 21:30:41 2002 checkrad ascend xx.xx.xx.xx 20219 atuser > 74981341 > No SNMP answer from ascend. > user at port S20219: atuser (dec) >

Re: compiling error on FreeBSD-4.5?

2002-04-26 Thread Alan DeKok
"Paul S. Puth" <[EMAIL PROTECTED]> wroreL > I am trying to compile the latest freeradius snapshot on a FreeBSD 4.5. > > With just basic ./configure and make, it stopped at "ltdl.lo" (see below). ... > gcc: Internal compiler error: program as got fatal signal 4 > gmake[2]: *** [ltdl.lo] Error 1

Re: Re[2]: Client-IP-Address occasionally incorrect

2002-04-26 Thread Alan DeKok
3APA3A <[EMAIL PROTECTED]> wrote: > I wrote about cause of this problem a month ago: Yes, but... > I bet either > >session_zap(request->packet->sockfd, > > should be changed to > >session_zap(acctfd, Both of these are completely wrong, now that I look further at the code. Th

compiling error on FreeBSD-4.5?

2002-04-26 Thread Paul S. Puth
e might be something missing in FreeBSD? gmake[1]: Entering directory `/usr/local/src/freeradius-snapshot-20020426' Making all in libltdl... gmake[2]: Entering directory `/usr/local/src/freeradius-snapshot-20020426/libltdl' /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -

Re: Client-IP-Address occasionally incorrect

2002-04-26 Thread Alan DeKok
Oleg Derevenetz <[EMAIL PROTECTED]> wrote: > If rad_check_ts() returns 1 (dup found), and no multilink is there, > this code simply increments request->simul_count, but if not, it > does session_zap() (and generates "fake" Accounting-Stop record with > fields such in my case). So it seems to be a

Re[2]: Client-IP-Address occasionally incorrect

2002-04-26 Thread 3APA3A
Dear Alan DeKok, I wrote about cause of this problem a month ago: --This is a forwarded message From: 3APA3A <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Monday, April 1, 2002, 6:48:12 PM Subject: radutmp bugs ===8<==Original message text=== Dear

Re: Client-IP-Address occasionally incorrect

2002-04-26 Thread Oleg Derevenetz
ãÉÔÉÒÕÀ Alan DeKok <[EMAIL PROTECTED]>: > Arg... On closer examination of the packet in the previous message, > I think the problem *is* session_zap. > > > It SHOULD initialize all of the entries in the data structures it > creates. > > It SHOULD NOT call rad_process(). rad_respond() i

Re: Client-IP-Address occasionally incorrect

2002-04-26 Thread Oleg Derevenetz
ãÉÔÉÒÕÀ "Chris A. Kalin" <[EMAIL PROTECTED]>: > I actually saw this same problem way back in the post 0.3 CVS days > (and > before), and I wasn't even involving checkrad. I would turn on > Simultaneous-Use, and I would immediately begin to get completely > bogus > Client-Ip-Addresses in my accou

Re: Client-IP-Address occasionally incorrect

2002-04-26 Thread Alan DeKok
"Chris A. Kalin" <[EMAIL PROTECTED]> wrote: > I actually saw this same problem way back in the post 0.3 CVS days (and > before), and I wasn't even involving checkrad. I would turn on > Simultaneous-Use, and I would immediately begin to get completely bogus > Client-Ip-Addresses in my accounting p

Re: Client-IP-Address occasionally incorrect

2002-04-26 Thread Chris A. Kalin
FWIW, I just tried it again on that same RADIUS server . I changed my DEFAULT entry in my users file from: DEFAULT Auth-Type := PAM to Simultaneous-Use := 1, Auth-Type := PAM and POOF...for any particular RAS I'd get three valid packets, than a bogus one, then another two or three goo

Re: Client-IP-Address occasionally incorrect

2002-04-26 Thread Chris A. Kalin
I actually saw this same problem way back in the post 0.3 CVS days (and before), and I wasn't even involving checkrad. I would turn on Simultaneous-Use, and I would immediately begin to get completely bogus Client-Ip-Addresses in my accounting packets...IPs that had nothing to do with my network

Re: Conditional Proxy

2002-04-26 Thread Eddie Stassen
At 11:46 AM 02/04/26 -0400, you wrote: >Chris Parker <[EMAIL PROTECTED]> wrote: > > Perhaps, though I'd rather not duplicate functionality that's already > > there. I'm a minimalist, so I prefer to keep the modules simple in what > > they do unless there isn't another way already of doing what yo

Re: Client-IP-Address occasionally incorrect

2002-04-26 Thread Alan DeKok
Oleg Derevenetz <[EMAIL PROTECTED]> wrote: > When I enabled Simultaneous-Use check for some user classes, I've > got the same problem as Mervyn Jack - invalid packets with fake > Client-IP-Address. That's really weird. The Client-IP-Address is taken from request->packet->src_ipaddr, which is t

Client-IP-Address occasionally incorrect

2002-04-26 Thread Oleg Derevenetz
Running FreeRADIUS 0.4 under Solaris 8/SPARC. When I enabled Simultaneous-Use check for some user classes, I've got the same problem as Mervyn Jack - invalid packets with fake Client-IP-Address. This is such typical packet: Fri Mar 22 14:49:03 2002 Acct-Status-Type = Stop NAS-IP-

Re: Conditional Proxy

2002-04-26 Thread Alan DeKok
Chris Parker <[EMAIL PROTECTED]> wrote: > Perhaps, though I'd rather not duplicate functionality that's already > there. I'm a minimalist, so I prefer to keep the modules simple in what > they do unless there isn't another way already of doing what you want. I tend to agree. Although I supp

Re: Conditional Proxy

2002-04-26 Thread Chris Parker
At 04:30 PM 4/26/2002 -0200, Eddie Stassen wrote: >At 08:47 AM 02/04/26 -0500, you wrote: >>At 02:08 PM 4/26/2002 -0200, Eddie Stassen wrote: >>>Hi, >>> >>>I have posted a patch for this on the developers list, but there has >>>been no response yet so I'm wondering if this patch would be as usefu

Re: dial_up admin question

2002-04-26 Thread Kostas Kalevras
On Tue, 23 Apr 2002, Juan Hernandez wrote: > can I get it off the web? I've never used the cvs repositry You can either get it through the web (http://sourceforge.net/projects/dialup-admin) or find it in the latest cvs snapshots. The cvs snapshots can be found in the ftp site in the CVS-snapshot

Re[2]: MS-CHAP nt-lnPasswords on LDAP

2002-04-26 Thread 3APA3A
Dear Alan DeKok, For example you may want to allow your users to use PAP, CHAP and MS-CHAP. In this case you will store cleartext password. Somehow during authorization it should be decided either to use local, chap or ms-chap authentication. In case of ms_chap cleartext password should

Re: Compilation Problem on RedHat 7.2

2002-04-26 Thread Alan DeKok
Bernard Sin <[EMAIL PROTECTED]> wrote: > I'm having problem compiling both Freeradius-0.5 as well as the > lastest CVS Snapshot. Whenever I tried to make, it kept on say that there > exist warning for the file dict.c saying that the "char *" is deprecated. Posting the *exact* warning mes

Re: Conditional Proxy

2002-04-26 Thread Eddie Stassen
At 08:47 AM 02/04/26 -0500, you wrote: >At 02:08 PM 4/26/2002 -0200, Eddie Stassen wrote: >>Hi, >> >>I have posted a patch for this on the developers list, but there has been >>no response yet so I'm wondering if this patch would be as useful to >>others as it is for me. Basically it allows one

Re: MS-CHAP nt-lnPasswords on LDAP

2002-04-26 Thread Alan DeKok
3APA3A <[EMAIL PROTECTED]> wrote: > mschap in authorize is only required if you store cleartext > password, in this case it produces NT/LM hashes from cleartext. That work can be done in the 'authenticate' code, can't it? I don't see why it's required to be in the 'authorize' section.

Re: Conditional Proxy

2002-04-26 Thread Chris Parker
At 02:08 PM 4/26/2002 -0200, Eddie Stassen wrote: >Hi, > >I have posted a patch for this on the developers list, but there has been >no response yet so I'm wondering if this patch would be as useful to >others as it is for me. Basically it allows one to specify a check list >in the realm confi

Conditional Proxy

2002-04-26 Thread Eddie Stassen
Hi, I have posted a patch for this on the developers list, but there has been no response yet so I'm wondering if this patch would be as useful to others as it is for me. Basically it allows one to specify a check list in the realm config which would then be checked before a request is proxie

RE: Question about redundant/failover accounting.

2002-04-26 Thread Nico.Baggus
wrote: > > When a NAS fails the telco will failover the the other NAS > > when a Radius server fails the NAS will select it's twin-sister. > > > > The only thing this doesn't work for is Accounting. > > You might want to take a look at 'radrelay', from the Cistron > distribution. It's the pref

rlm_mysql core dumped

2002-04-26 Thread rust
Hello freeradius-users, My config Linux Redhat 7 Linux 2.4.18 #3 SMP Fri Apr 5 14:07:36 MSD 2002 i686 unknown mysql Ver 3.22.32 for pc-linux-gnu on i686 freeradius-snapshot-20020417 If I set num_sql_socks > 1, i have core dumped ;( With num_sql_socks = 1 it work fine What changes i must do and

Compiling pam_radius module on HP-UX

2002-04-26 Thread Lecossois, Walter
Hi, Does anybody have some experience or hints on how to get the pam_radius module compiled on HP-UX (10.20 and 11) ? Thanks, Walter. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html