(RADIATOR) Logging Timestamp

2000-10-12 Thread Anton Sparrius
Hi, When logging Radiator timestamps each log entry as : Thu Oct 12 19:01:42 2000: I need to get this to show more accuracy than just seconds. The code is in LogFILE.pm which says : my $ctime = localtime(time); my $message = "$ctime: $Radius::Log::priorityToString[$p]: $s\n"; Can this be cha

(RADIATOR) How is LDAP check done with multiple handlers to the same LDAP server

2000-10-12 Thread c . w . vandervelden
Hello All, I'm using 2.16.1 (including patches) and AuthLDAPSDK for LDAP authentication. My config file contains several handlers (different Called-Station-Id's), but which all authenticate against the same LDAP server. When testing with the same user/password the following showed up: handler 1

RE: (RADIATOR) Calling Line Identification

2000-10-12 Thread Ingvar Berg (ERA)
How to implement it depends on what user db you have, Hugh will probably give you the full answer tomorrow. If you AuthBy LDAP, then you specify a search filter to define what user attribute should match Calling Line ID. Flat file is also real simple and (I'm guessing here) also SQL. Reading t

(RADIATOR) Accounting

2000-10-12 Thread Matthias Fechner (Temp)
Hi i need in the accounting the connection speed(like 64000 for one isdn-channel or 128000 for two isdn channel). With the Line: AcctColumnDef ACCTTERMINATECAUSE,Acct-Terminate-Cause I can specify the column in the database, but what keyword(variable) i need(the name) for the connectionspeed?

Re: (RADIATOR) Accounting

2000-10-12 Thread Ron Hensley
I get that from Connect-Info. I guess it would depend on what information your NAS is sending over, but a quick look with trace 4 of what information is getting sent from your NAS should show what Attribute has the information you want. I use this: AcctColumnDef CONNECTINFO,Connect-Info

(RADIATOR) Radmin install with remote sql server

2000-10-12 Thread Lisa Goulet
Hi Colleagues, In my test setup I had the Postgresql/Radmin/Radiator servers all in one machine and it worked fine. Now I'm trying to install Radmin on one server with Postgresql DB on another. The installPostgresql.sh has the error below. I tried variations on dbname such as: database=radmin:

Re: (RADIATOR) what's the best way to stress-test radiator?

2000-10-12 Thread Herbert Kornfeld
Thanks Hugh. Are you saying that running radpwtst on the same server as Radiator is a bad thing? The reason I ask is that I ran n local copies of radpwtst simultaneously, and performance dropped through the floor even with n as low as 3. I'm running a twin-CPU HP server with 1/2gb of ram, perl

Re: (RADIATOR) Radmin install with remote sql server

2000-10-12 Thread Mike Hickey
Hi Lisa Root has not been setup as a Postgres user. Do: su - postgres createuser Then shell back to root and run the script again. Mike Lisa Goulet wrote: > > Error: > psql: FATAL 1: SetUserId: user 'root' is not in 'pg_shadow' > createdb: database creation failed > Shall the new user b

Re: (RADIATOR) Radmin install with remote sql server

2000-10-12 Thread Mike McCauley
Hello Lisa, This looks very much like some sort of protection/permission issue withteh POstgreSQL server, rather than Radiator. have you been able to connect to the server with the POstgreSQL command line utilities? Cheers. On Oct 12, 5:13pm, Lisa Goulet wrote: > Subject: (RADIATOR) Radmin in

Re: (RADIATOR) what's the best way to stress-test radiator?

2000-10-12 Thread Hugh Irvine
Hello Herbert - On Fri, 13 Oct 2000, Herbert Kornfeld wrote: > Thanks Hugh. Are you saying that running radpwtst on the same server as > Radiator is a bad thing? The reason I ask is that I ran n local copies > of radpwtst simultaneously, and performance dropped through the floor > even with n

Re: (RADIATOR) Radmin install with remote sql server

2000-10-12 Thread Hugh Irvine
Hello Lisa - On Fri, 13 Oct 2000, Lisa Goulet wrote: > Hi Colleagues, > > In my test setup I had the Postgresql/Radmin/Radiator servers all in one > machine and it worked fine. > > Now I'm trying to install Radmin on one server with Postgresql DB on > another. The installPostgresql.sh has the

Re: (RADIATOR) How is LDAP check done with multiple handlers to the same LDAP se rver

2000-10-12 Thread Hugh Irvine
Hello Karel - On Thu, 12 Oct 2000, [EMAIL PROTECTED] wrote: > Hello All, > > I'm using 2.16.1 (including patches) and AuthLDAPSDK for LDAP > authentication. My config file contains several handlers (different > Called-Station-Id's), but which all authenticate against the same LDAP > server. Whe

Re: (RADIATOR) Logging Timestamp

2000-10-12 Thread Hugh Irvine
Hello Anton - On Thu, 12 Oct 2000, Anton Sparrius wrote: > Hi, > > When logging Radiator timestamps each log entry as : > > Thu Oct 12 19:01:42 2000: > > I need to get this to show more accuracy than just seconds. > > The code is in LogFILE.pm which says : > > my $ctime = localtime(time); >

Re: (RADIATOR) radonline missing entries?

2000-10-12 Thread Charles Sprickman
On Thu, 12 Oct 2000, Hugh Irvine wrote: > > At trace 3, I see no oddities associated with this > > username. Any ideas how to track this down?? > > Yes - use trace 4 and watch what happens. I knew you'd say that :) Found my problem: -MySQL session db definition Identifier SDB_mysq

(RADIATOR) Multiple databases

2000-10-12 Thread Mike McCauley
--- Forwarded mail from [EMAIL PROTECTED] Date: Fri, 13 Oct 2000 10:40:20 +1000 (EST) From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: BOUNCE [EMAIL PROTECTED]:Non-member submission from [Elias <[EMAIL PROTECTED]>] >From mikem Fri Oct 13 10:40:15 2000 Received: by oscar.open.com.au (

Re: (RADIATOR) Multiple databases

2000-10-12 Thread Hugh Irvine
Hello Elias - > > Hi, > > I want to set-up a multiple database environment so that if one database goes > down, the backup will take over. My config is as shown below. Is there anything > wrong with it? When radiusxx goes down, radiator does not switch over to > radiusyy automatically. Thanks.

Re: (RADIATOR) radonline missing entries?

2000-10-12 Thread Hugh Irvine
Hello Charles - On Fri, 13 Oct 2000, Charles Sprickman wrote: > On Thu, 12 Oct 2000, Hugh Irvine wrote: > > > > At trace 3, I see no oddities associated with this > > > username. Any ideas how to track this down?? > > > > Yes - use trace 4 and watch what happens. > > I knew you'd say that

RE: (RADIATOR) Logging Timestamp

2000-10-12 Thread Anton Sparrius
Hi, FYI I've added a little code to add a "milliseconds" report to the log file. You need to download and install the Time-HiRes-01.20.tar.gz package which can be downloaded from CPAN. Then, a small adjustment to LogFILE.pm, (at the beginning of the module) use Time::HiRes qw( usleep ualarm g

Re: (RADIATOR) Multiple databases

2000-10-12 Thread Ron Hensley
I dont get the Framed-IP-Address on Start records, thus my SQL doesn't log them to the RADONLINE database A look at the printout detail files, shows that information is not sent by my NAS terminal servers, Bay 5399's. When a user gets assigned a static ip address, with a reply item of Framed-IP-Ad