Re: (RADIATOR) Radiator as a NT Service

1999-07-05 Thread Michael Gatti

Dirk.

First of all, thanx for replying so fast to my message.
Regarding the double slashes in the registry entrance that's what they look
like when I export them, but in the registry editor they appear like this:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\radiator\Parameters]
"Application"="c:\perl\bin\perl.exe c:\radiator\radiusd -config_file
c:\radiator\maxnt.cfg"
I just don't know were those slashes came from.

Regards
Michael Gatti
Malbanet Serviços On-Line
Caxias do Sul - RS - Brasil

- Original Message -
From: Dirk Jansen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Segunda-feira, 5 de Julho de 1999 11:57
Subject: RE: (RADIATOR) Radiator as a NT Service


|  Dear Gentilmen:
| 
|  We are starting the tests with radiator here at our ISP. The software
was
| installed on a Windows NT 4 Server (SP5, IIS4, RRAS - not active) 128 Mb
| RAM following the install instruction that are in the "Installation and
| Reference Manual for Radiator v. 2.13.1". The software worked very well
| when I tested it with "RADPWTST",  "Ascend MAX 6000" and "NT - RRAS"
| connections. The only problem I have encountered is making radiator start
| as a system service. I have already downloaded SRVANY and INSTSRV and
| installed them in the "c:\reskit" folder. My radiator path is -
| c:\radiator\radiusd , and my perl path is - c:\perl\bin\perl.exe ,
| following is my .cfg file and the regedt entrence I have created:
| 
|  CONFIG FILE:
|  ###
| 
|  Foreground
|  LogStdout
|  Trace4
|  AuthPort   1645
|  AcctPort   1646
|  LogDir c:\radiator\malbanet\log
|  LogFile\%Y%m%d.log
|  DbDir
|  DictionaryFile  dictionary.nt
| 
|  # You will probably want to change this to suit your site.
| 
|  Client localhost
| 
|   Secret  mysecret
|   DupInterval 0
| 
|  /Client
| 
|  Client XXX.YYY.ZZZ.x
| 
|   Secret  mysecret
|   DupInterval 0
| 
|  /Client
| 
|  Client XXX.YYY.ZZZ.x
| 
|   Secret  mysecret
|   DupInterval 0
| 
|  /Client
| 
|  Client XXX.YYY.ZZZ.x
| 
|   Secret  mysecret
|   DupInterval 0
| 
|  /Client
| 
|  Realm DEFAULT
| 
|  # Limit all users in this realm to max of 1 session
|   MaxSessions 1
| 
|   AuthBy NT
|   /AuthBy
| 
|  # Log all accounting into daily log files in LogDir
|   AcctLogFileName %L\%Y%m%d.act
| 
|  /Realm
| 
| 
|  ###
| 
|  Here I have exported the radiator key from the registry
| 
| 
|  
| 
|  REGEDIT4
| 
|  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\radiator]
|  "Type"=dword:0010
|  "Start"=dword:0002
|  "ErrorControl"=dword:0001
|  "ImagePath"=hex(2):63,3a,5c,72,65,73,6b,69,74,5c,73,72,76,61,6e,79,2e,
| 65,78,65,\
|00
|  "DisplayName"="radiator"
|  "ObjectName"="LocalSystem"
| 
| 
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\radiator\Parameters]
|  "Application"="c:\\perl\\bin\\perl.exe
c:\\radiator\\radiusd -config_file
| c:\\radiator\\maxnt.cfg"
|
| Hi Mike,
| I wonder about the double slashes in your application registry key, as far
| as I know here you should use single slashes e.g.
| "Application"="c:\perl\\bin\perl.exe c:\radiator\radiusd -config_file
| c:\radiator\maxnt.cfg"
|
| For further information, see "HOWTO: Create a User-Defined Service" at
| http://support.microsoft.com/support/kb/articles/Q137/8/90.asp.
| regards, Dirk Jansen
|
|
|
|
|
|
|
|
|
|
| 
|  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\radiator\Security]
| 
| "Security"=hex:01,00,14,80,c0,00,00,00,cc,00,00,00,14,00,00,00,34,00,00,
| 00,02,\
|  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\radiator\Enum]
|  "0"="Root\\LEGACY_RADIATOR\\"
|  "Count"=dword:0001
|  "NextInstance"=dword:0001
| 
|  
| 
|  I hope these info help, cause I have read all the manual and didn't
| figure it out.
| 
|  Best Reagrds
|  Michael Gatti
|  Malbanet Servicos Online
|  Caxias do Sul - RS - Brazil
|Bestand: ATT0.html 
|
| ===
| Archive at http://www.thesite.com.au/~radiator/
| To unsubscribe, email '[EMAIL PROTECTED]' with
| 'unsubscribe radiator' in the body of the message.
|
|



===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



RE: (RADIATOR) Radiator as a NT Service

1999-07-06 Thread Michael Gatti




Hello;Well I made some minor adjustments following the reply below 
(one of thethings I did was copy the folder Radius from 
c:\radiator\ to c:\perl\lib c:\perl\site\lib - after I did that 
executing the command line that's inthe register from the prompt 
c:\ worked). The Service starts OK , but nowthere's another 
problem. When I run the command line c:\c:\perl\bin\perl.exe 
c:\radiator\radiusd -config_file c:\radiator\maxnt.cfgand test Radiator with 
c:\radiator perl radpwtst -s localhost -userusername -password password 
- Radiator works perfect. But when I startRadiator as a system service ( NET 
START RADIATOR ) and do the same test,this is what 
happens:C:\RadiatorPERL RADPWTST -s localhost -user username 
-password passwordsending Access-Request...Rejectedsending 
Accounting-Request Start...OKsending Accounting-Request 
Stop...OK#Bellow is my 
config 
file:ForegroundLogStdoutTrace 
5AuthPort 
1645AcctPort 
1646LogDir 
C:\radiator\malbanet\logLogFile 
%D\%Y%m%d.logDbDir 
C:\radiatorDictionaryFile %D\dictionary.nt# You will probably 
want to change this to suit your site.Client 
localhostSecret mysecretDupInterval 
0/ClientClient 
XXX.YYY.ZZZ.xxxSecret mysecretDupInterval 
0/ClientClient 
XXX.YYY.ZZZ.xxxSecret mysecretDupInterval 
0/ClientClient 
XXX.YYY.ZZZ.xxxSecret mysecretDupInterval 
0/ClientRealm DEFAULT# Limit all users 
in this realm to max of 1 sessionMaxSessions 
1AuthBy NTIdentifier NTSystem# Domain 
MYDOMAIN.COM.BR# DomainController HOSTNAME# DefaultReply 
Service-Type=Framed-User,Framed-Protocol=PPP/AuthBy# Log all 
accounting into daily log files in LogDirAcctLogFileName 
%L\%Y%m%d.act# Accounting log file format - only the following items 
are logged# AcctLogFileFormat %{User-Name}, %{Acct-Status-Type}, 
%{Acct-Session-Time},%{Timestamp},/Realm##Bellow 
is the log entrance where the error appears, looks like radiatorcan't find 
the network path:Tue Jul 6 15:07:20 1999: DEBUG: Handling request 
with Handler'Realm=DEFAULT'Tue Jul 6 15:07:20 1999: DEBUG: 
Handling with NTTue Jul 6 15:07:24 1999: INFO: Access rejected for 
mike: NT CheckPasswordfailed: 53: The network path was not 
found.#Any help is 
thankfulBest RegardsMichael GattiMalbanet Servicos 
OnlineCaxias do Sul - RS - Brazil|-Original 
Message-|From: Mike McCauley [EMAIL PROTECTED]|To: [EMAIL PROTECTED] [EMAIL PROTECTED]; [EMAIL PROTECTED]|[EMAIL PROTECTED]|Date: 
Monday, July 05, 1999 21:53|Subject: Re: (RADIATOR) Radiator as a NT 
Service|||Hello Michael.|||Before Radiator can be run as 
a service, you should test that the commandl|ine|entered into the 
registry will run Radiator properly. You should test this|by|changing 
to, say the root directory, then issuing the complete command 
line|and|seeing if it works, eg:||c:|cd 
\|c:\perl\bin\perl.exe c:\radiator\radiusd -config_file whatever 
.||ONly if Radiator starts and runs properly like that, can you 
expect it to|run|as a service.||Looking at your config file, I 
suspect that these lines will cause 
you|problems:||DbDir|DictionaryFile 
dictionary.nt||Since an NT service has no concept of a current drive or 
current directory,|I|suspect that Radiator cannot find the dictionary 
file with that|configuration.|You should probably have something 
like:||DbDir 
c:\radiator|DictionaryFile %D\dictionary.nt||Hope that 
helps.||Cheers.||--|Mike 
McCauley 
[EMAIL PROTECTED]|Open System 
Consultants Pty. 
Ltd Unix, 
Perl, Motif, C++, WWW|24 Bateman St Hampton, VIC 3188 Australia 
http://www.open.com.au|Phone +61 3 
9598-0985 
Fax +61 3 9598-0955||Radiator: the most portable, flexible 
and configurable RADIUS server|anywhere. SQL, proxy, DBM, files, LDAP, NIS+, 
password, NT, Emerald,|Platypus, Freeside, TACACS+, PAM, external, etc etc 
on Unix, Win95/8,|NT, Rhapsody|=|Archive at http://www.thesite.com.au/~radiator/|To 
unsubscribe, email '[EMAIL PROTECTED]' 
with|'unsubscribe radiator' in the body of the 
message.


Re: (RADIATOR) Radiator as a NT Service

1999-07-07 Thread Michael Gatti

Mike,

Thanx for all the support you have gave us, but like I said in my earlier
message, running the
command from the command line works:
c:\ c:\perl\bin\perl.exe c:\radiator\radiusd -config_file
c:\radiator\maxnt.cfg
(this is exactly the same as in the registry ), but when I start Radiator as
a Sytem Service
it doesn't work. I'm testing, as you said, some other parameters in the
AuthBy NT clause
I'll let you know what happens.

Best Regards
Michael Gatti
Malbanet Servicos Online
Caxias do Sul - RS - Brazil

-Original Message-
From: Mike McCauley [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]; [EMAIL PROTECTED]
[EMAIL PROTECTED]
Date: Wednesday, July 07, 1999 08:50
Subject: Re: (RADIATOR) Radiator as a NT Service


Hi Michael,

looking at your config file, you have the Domain line commented out in your
AuthBy NT clause, so I think your Radiator is failing to contact the Domain
Controller of your network, and is therefore rejecting your login request.

I thinbk you need to change your AuthBy NT configuration until it works
from
the command line, then try to run it as a service.

Cheers.


On Jul 6,  3:44pm, Michael Gatti wrote:
 Subject: RE: (RADIATOR) Radiator as a NT Service

 Hello;

 Well I made some minor adjustments following the reply below (one of the
 things I did was copy the folder "Radius" from c:\radiator\ to
c:\perl\lib 
 c:\perl\site\lib - after I did that executing the command line that's
in
 the register from the prompt "c:\" worked). The Service starts OK , but
now
 there's another problem. When I run the command line c:\
 c:\perl\bin\perl.exe c:\radiator\radiusd -config_file
c:\radiator\maxnt.cfg
 and test Radiator with c:\radiator perl radpwtst -s localhost -user
 username -password password - Radiator works perfect. But when I start
 Radiator as a system service ( NET START RADIATOR ) and do the same test,
 this is what happens:

 C:\RadiatorPERL RADPWTST -s localhost -user username -password password
 sending Access-Request...
 Rejected
 sending Accounting-Request Start...
 OK
 sending Accounting-Request Stop...
 OK

 #
 Bellow is my config file:


 Foreground
 LogStdout
 Trace 5
 AuthPort 1645
 AcctPort 1646
 LogDirC:\radiator\malbanet\log
 LogFile   %D\%Y%m%d.log
 DbDir C:\radiator
 DictionaryFile  %D\dictionary.nt

 # You will probably want to change this to suit your site.

 Client localhost

 Secret  mysecret
 DupInterval 0

 /Client

 Client XXX.YYY.ZZZ.xxx

 Secret  mysecret
 DupInterval 0

 /Client

 Client XXX.YYY.ZZZ.xxx

 Secret  mysecret
 DupInterval 0

 /Client

 Client XXX.YYY.ZZZ.xxx

 Secret  mysecret
 DupInterval 0

 /Client

 Realm DEFAULT

 # Limit all users in this realm to max of 1 session
 MaxSessions 1

 AuthBy NT
 Identifier NTSystem
 # Domain  MYDOMAIN.COM.BR
 # DomainController HOSTNAME
 # DefaultReply Service-Type=Framed-User,Framed-Protocol=PPP
 /AuthBy

 # Log all accounting into daily log files in LogDir
 AcctLogFileName %L\%Y%m%d.act

 # Accounting log file format - only the following items are logged
 # AcctLogFileFormat %{User-Name}, %{Acct-Status-Type},
%{Acct-Session-Time},
 %{Timestamp},

 /Realm

 #

 #
 Bellow is the log entrance where the error appears, looks like radiator
 can't find the network path:

 Tue Jul  6 15:07:20 1999: DEBUG: Handling request with Handler
 'Realm=DEFAULT'
 Tue Jul  6 15:07:20 1999: DEBUG: Handling with NT
 Tue Jul  6 15:07:24 1999: INFO: Access rejected for mike: NT
CheckPassword
 failed: 53: The network path was not found.

 #

 Any help is thankful....

 Best Regards
 Michael Gatti
 Malbanet Servicos Online
 Caxias do Sul - RS - Brazil


 |-Original Message-
 |From: Mike McCauley [EMAIL PROTECTED]
 |To: [EMAIL PROTECTED] [EMAIL PROTECTED]; [EMAIL PROTECTED]
 |[EMAIL PROTECTED]
 |Date: Monday, July 05, 1999 21:53
 |Subject: Re: (RADIATOR) Radiator as a NT Service
 |
 |
 |Hello Michael.
 |
 |
 |Before Radiator can be run as a service, you should test that the
command
 l|ine
 |entered into the registry will run Radiator properly. You should test
this
 |by
 |changing to, say the root directory, then issuing the complete command
line
 |and
 |seeing if it works, eg:
 |
 |c:
 |cd \
 |c:\perl\bin\perl.exe c:\radiator\radiusd -config_file whatever .
 |
 |ONly if Radiator starts and runs properly like that, can you expect it
to
 |run
 |as a service.
 |
 |Looking at your config file, I suspect that these lines will cause you
 |problems:
 |
 |DbDir
 |DictionaryFile  dictionary.nt
 |
 |Since an NT service has no concept of a current drive or current
directory,
 |I
 |suspect that Radiator cannot find the dictionary file with that
 |configuration.
 |You should probably have something like:
 |
 |DbDir c:\radiator
 |DictionaryFile  %D\dictionary.nt
 |
 |Hope tha

(RADIATOR) Radiator as NT Service now - OK \ more info

1999-07-07 Thread Michael Gatti




In order to RRAS send 
the correct parameters to Radiator for authentication you must remove two keys 
from the RRAS server's register:

1 - 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan\PPP\CHAP

2 - 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan\PPP\SPAP


Best Regards
Michael Gatti
Malbanet Servicos Online
Caxias do Sul - RS - 
Brazil


 
SAVE A TREE - USE 
E-MAIL 




(RADIATOR) Accounting to a DataBase via ODBC

1999-07-08 Thread Michael Gatti




Dear Gentilmen:

Has anyone tried this??? If so could you send me 
some tips on how to connect radiator 
to a database via a ODBC driver and log the 
accounting information.

Thanx a lot

Best Regards
Michael Gatti
Malbanet Servicos Online
Caxias do Sul - RS - Brazil 





(RADIATOR) Accounting do Database via ODBC

1999-07-09 Thread Michael Gatti




Ladies  Gentilmen:

I'm trying to do something here that 
I'm not sure that it could work. I have radiator working just fine here at my 
ISP and know I what to implement some new functions to him. I'm trying to make 
radiator send the accounting information to a Data Base (very simple one - 
Access) via an ODBC driver and still create the accounting log files. bellow is 
my CONFIG FILE, I know it my be very wierd, but that's why I'm asking for some 
help. When I run he command line:
c:\ perl radiusd 
-confi_file=maxntdb.cfg I receive a lot of:

Sat Jul 10 10:28:45 1999: ERR: Unknown keyword 
'Identifier=NTSystem' in maxntdb.cfg line 39Sat Jul 10 10:28:45 1999: ERR: 
Unknown keyword 'Auth-Type=System' in maxntdb.cfg line 40Sat Jul 10 10:28:45 
1999: ERR: Unknown keyword 'Domain=mydomain' in maxntdb.cfg line 41Sat Jul 
10 10:28:45 1999: ERR: Unknown keyword 'DomainController=hostname' in 
maxntdb.cfg line 42Sat Jul 10 10:28:45 1999: ERR: Unknown keyword 
'AcctLogFileName=%L\%Y%m%d.act' in maxntdb.cfg line 44Sat Jul 10 10:28:45 
1999: ERR: Unknown keyword 'DBSource=dbi:Acessos:localhost' in maxntdb.cfg line 
46Sat Jul 10 10:28:45 1999: ERR: Unknown keyword 
'AcctColumnDef=TIME_STAMP,Timestamp,formatted-date,to_date('%e' in maxntdb.cfg 
line 48Sat Jul 10 10:28:46 1999: ERR: Unknown keyword 
'AcctColumnDef=SessionID,Acct-Session-Id' in maxntdb.cfg line 50Sat Jul 10 
10:28:46 1999: ERR: Unknown keyword 'AcctColumnDef=TIME_STAMP,Timestamp' in 
maxntdb.cfg line 51Sat Jul 10 10:28:46 1999: ERR: Unknown keyword 
'AcctColumnDef=StatusType,Acct-Status-Type' in maxntdb.cfg line 52Sat Jul 10 
10:28:46 1999: ERR: Unknown keyword 'AcctColumnDef=UserName,User-Name' in 
maxntdb.cfg line 53Sat Jul 10 10:28:46 1999: ERR: Unknown keyword 
'AcctColumnDef=SessionTime,Acct-Session-Time,integer' in maxntdb.cfg line 
54Sat Jul 10 10:28:46 1999: ERR: Unknown keyword 'AccountingTable=Acessos' 
in maxntdb.cfg line 56Sat Jul 10 10:28:47 1999: INFO: Server 
started

- CONFIG FILE



# maxntdb.cfg

ForegroundLogStdoutTrace 
5AuthPort 
1645AcctPort 
1646LogDir 
c:\radiator\malbanet\logLogFile 
%L\%Y%m%d.logDbDir 
C:\winnt\profiles\administrator\personalDictionaryFile 
%D\dictionary.nt

# You will probably want to change 
this to suit your site.

Client 
localhostSecret mysecretDupInterval 
0/Client

Client 
XXX.YYY.ZZZ.xxxSecret mysecretDupInterval 
0/Client

Client 
XXX.YYY.ZZZ.xxxSecret mysecretDupInterval 
0/Client

Client 
XXX.YYY.ZZZ.xxxSecret mysecretDupInterval 
0/Client

Realm DEFAULT# Limit all 
users in this realm to max of 1 
sessionMaxSessions 1AuthBy 
NTIdentifier=NTSystemAuth-Type=SystemDomain=mydomainDomainController=hostname# 
Log all accounting into daily log files in 
LogDirAcctLogFileName=%L\%Y%m%d.act# Connect to ODBC on 
localhostDBSource=dbi:Acessos:localhost# Heres how you can convert 
Timestamps into a format that Oracle 
likesAcctColumnDef=TIME_STAMP,Timestamp,formatted-date,to_date('%e %m 
%Y %H:%M:%S', 'DD MM  HH24:MI:SS')# AcctColumnDef 
COLUMN,Attribute[,type][,format]AcctColumnDef=SessionID,Acct-Session-IdAcctColumnDef=TIME_STAMP,TimestampAcctColumnDef=StatusType,Acct-Status-TypeAcctColumnDef=UserName,User-NameAcctColumnDef=SessionTime,Acct-Session-Time,integer# 
Store accounting records in 
AcessosAccountingTable=Acessos/AuthBy/Realm


Re: (RADIATOR) Re: Simultaneous Logins

1999-07-13 Thread Michael Gatti

Hello

Should the "DefaultSimultaneousUse 5" be in the middle of the AuthBy
clauses like this:

--

AuthBy FILE
Filename %D\users
DefaultSimultaneousUse 5
/AuthBy
AuthBy NT
 DefaultSimultaneousUse 1
/AuthBy

---

Can I expect this to work as:
- users that AuthBy File can have the max of 5 connections
- users that AuthBy NT can have the max of 1 connection

Or is there a better way to do that?

Best Regards
Michael Gatti
Malbanet Servicos Online
Caxias do Sul - RS - Brazil


||
 SAVE A TREE - USE E-MAIL
||





- Original Message -
From: Mike McCauley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 13, 1999 10:34
Subject: (RADIATOR) Re: Simultaneous Logins


 Hi Michael,

 Yes, that will work (it will look for them in the FILE, and if not there
or
 password is bad, try the NT user database), but it does not need to be
that
 complicated. Realm can have multiple AuthBy clauses in it:

 Realm DEFAULT

   AuthByPolicy ContinueUntilAccept
   AuthBy FILE
   Filename users
 # Next line wont work, see below
   #Simultaneous-Use = 20
   /AuthBy

   AuthBy NT
   Domain malbanet.com.br
   DomainController denebola
 # Next line wont work, see below
   #Simultaneous-Use = 1
   /AuthBy

 # Log all accounting into daily log files in LogDir
   AcctLogFileName %L\%Y%m%d.act

 /Realm

 I notice that you have Simultaneous-Use = 1 in there. That wont work. You
 should have
 DefaultSimultaneousUse 20


 BTW, you must address your mail to [EMAIL PROTECTED], else no-one
except me
  will see it. This one was sent to [EMAIL PROTECTED]

 Hope that helps.

 Cheers.

 On Jul 12,  4:40pm, Michael Gatti wrote:
  Subject: Simultaneous Logins
 
  [ Attachment (text/plain): 566 bytes
Character set: Windows-1252
Encoded with "quoted-printable" ]
 
  [ Attachment (text/x-html): 1584 bytes
Character set: Windows-1252
Encoded with "quoted-printable" ]
 -- End of excerpt from Michael Gatti

 Can anyone tell me if this works?

 Realm DEFAULT

 AuthBy GROUP
  AuthByPolicy ContinueUntilAccept
  AuthBy FILE
  Filename users
  Simultaneous-Use = 20
  /AuthBy

  AuthBy NT
  Domain malbanet.com.br
  DomainController denebola
  Simultaneous-Use = 1
  /AuthBy
 /AuthBy

 # Log all accounting into daily log files in LogDir
  AcctLogFileName %L\%Y%m%d.act

 /Realm

 Regards
 Michael Gatti
 Malbanet Servicos Online


 --
 Mike McCauley   [EMAIL PROTECTED]
 Open System Consultants Pty. LtdUnix, Perl, Motif, C++, WWW
 24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
 Phone +61 3 9598-0985   Fax   +61 3 9598-0955

 Radiator: the most portable, flexible and configurable RADIUS server
 anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
 Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
 NT, Rhapsody
 ===
 Archive at http://www.thesite.com.au/~radiator/
 To unsubscribe, email '[EMAIL PROTECTED]' with
 'unsubscribe radiator' in the body of the message.





===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) Max. Authentication Sessions

1999-08-02 Thread Michael Gatti



Dear Gentilmen

I'm having a problem with radiator, sometimes he stops answering to 
authentication requests and I have to stop and start the service (sometimes more 
then once) for radiator to start working again.
I have something around 120 phone lines that users use to connect to the 
internet at my ISP and all incoming access requestsare passing through 
Radiator for authentication. Does someone know of a maximum limite of request 
radiator can handle at a time. Is there a work-around this. I have 
radiatorinstalled on a Windows NT 4.0 Server running SP5.
And bellow is my config file:

§



ForegroundLogStdoutTrace 
4LogDir 
c:\radiator\malbanet\logLogFile 
%L\%Y%m%d.logDbDir 
c:\radiatorDictionaryFile %D\dictionary.nt

Client x.x.x.xSecret mysecret
/ClientClient x.x.x.xSecret 
myseret/ClientClient x.x.x.xSecret 
mysecret/Client

Realm 
DEFAULTRewriteUsernametr/[A-Z]/[a-z]/AuthByPolicy 
ContinueUntilAccept

AuthBy SQLAuthSelectDBSource 
dbi:ODBC:AcessosAccountingTable ConexAcctColumnDef 
SessionID,Acct-Session-IdAcctColumnDef 
TIME_STAMP,Timestamp,integerAcctColumnDef 
StatusType,Acct-Status-TypeAcctColumnDef 
UserName,User-NameAcctColumnDef 
SessionTime,Acct-Session-Time,integerAcctColumnDef 
InPackets,Acct-Input-PacketsAcctColumnDef 
OutPackets,Acct-Output-PacketsAcctColumnDef 
FoneID,Calling-Station-IdAcctColumnDef 
IpAddress,Framed-IP-AddressAcctColumnDef 
TIME_STAMP,Timestamp,formatted-date,('%e %m %Y 
%H:%M:%S')/AuthBy

AuthBy FILEFilename 
%D/userxDefaultSimultaneousUse 5/AuthBy

#AuthBy FILE#Filename 
%D/usery#DefaultSimultaneousUse 1#/AuthBy

AuthBy NTIdentifier 
nt/AuthBy

# 1 Log accounting to the detail file in 
LogDirAcctLogFileName %L\%Y%m.act

# 2 Log accounting to the detail file in 
LogDirAcctLogFileName %L\%Y%m%d.act

/Realm



§

Thanx for Reading

Best Regards
Michael GattiMalbanet Serviços Online[EMAIL PROTECTED] \ [EMAIL PROTECTED]


(RADIATOR) Simultaneous Logins

1999-08-09 Thread Michael Gatti

Hello Radiator Users (mess. sent to [EMAIL PROTECTED])

I'm having some problems with simultaneous logins here at my ISP, we use
Radiator to authenticate and account incoming connection request.
Since we are an ISP we have very different types of users, but most of them
do not have permission to have more then one connection per user. Bellow is
my config file, I'm running Radiator on WinNT 4.0 as a system service ...

..

# MAX.cfg

Foreground
LogStdout
Trace   5
LogDir  c:\radiator\malbanet\log
LogFile %L\%Y%m%d.log
DbDir   c:\radiator
DictionaryFile  %D\dictionary.nt

Client localhost
 Secret 
/Client
Client x.x.x.x
 Secret  
/Client
Client x.x.x.x
 Secret  
/Client
Client x.x.x.x
 Secret  
/Client

Realm DEFAULT
 RewriteUsername tr/[A-Z]/[a-z]/
 AuthByPolicy ContinueUntilAccept

 AuthBy SQL
 AuthSelect
 DBSource dbi:ODBC:ODBCsource
 AccountingTable Table
 AcctColumnDef SessionID,Acct-Session-Id
 AcctColumnDef TIME_STAMP,Timestamp,integer
 AcctColumnDef StatusType,Acct-Status-Type
 AcctColumnDef UserName,User-Name
 AcctColumnDef SessionTime,Acct-Session-Time,integer
 AcctColumnDef InPackets,Acct-Input-Packets
 AcctColumnDef OutPackets,Acct-Output-Packets
 AcctColumnDef FoneID,Calling-Station-Id
 AcctColumnDef IpAddress,Framed-IP-Address
 AcctColumnDef TIME_STAMP,Timestamp,formatted-date,('%e %m %Y %H:%M:%S')
 /AuthBy
# Users file that can have more then 1 login
 AuthBy FILE
 DefaultSimultaneousUse 5
 Filename %D/userx
 /AuthBy
# Users file that have hour restrictions
 AuthBy FILE
 DefaultSimultaneousUse 1
 Filename %D/userz
 /AuthBy
# Users File - DEFAULT - sends authentication requests to be handled
# with NT Domain Controller
 AuthBy FILE
 DefaultSimultaneousUse 1
 Filename %D/usery
 /AuthBy

 # 1 Log accounting to the detail file in LogDir
 AcctLogFileName   %L\%Y%m.act

 # 2 Log accounting to the detail file in LogDir
 AcctLogFileName   %L\%Y%m%d.act

/Realm

 AuthBy NT
 Identifier nt
 /AuthBy


.



Any Ideas are Thankful


Best Regards
Michael Gatti
Malbanet Serviços On-Line
Caxias do Sul - RS - Brasil



===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) Simultaneous Access

1999-08-20 Thread Michael Gatti

Hello Everyone ([EMAIL PROTECTED])

I'm having some problems with Radiator regarding Silmultaneous Access. We
have three NAS servers authenticating and accounting on radiator, I have
three types of authentications (as shown bellow on my config file), but I
still have Simultaneous connections and that's what I'm trying to limit, any
ideia or help is thankful:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Config File -

# MAX.cfg

Foreground
LogStdout
Trace   4
LogDir  c:\radiator\malbanet\log
LogFile %L\%Y%m%d.log
DbDir   c:\radiator
DictionaryFile  %D\dictionary.nt

Client localhost
 Secret mysecretkey
/Client
Client xxx.xxx.xxx.xxx
 Secret  mysecretkey
/Client
Client xxx.xxx.xxx.xxx
 Secret  mysecretkey
/Client
Client xxx.xxx.xxx.xxx
 Secret  mysecretkey
/Client

Realm DEFAULT
 RewriteUsername tr/[A-Z]/[a-z]/
 AuthByPolicy ContinueUntilAccept

 AuthBy SQL
 AuthSelect
 DBSource dbi:ODBC:myodbc
 AccountingTable mytable
 AcctColumnDef SessionID,Acct-Session-Id
 AcctColumnDef TIME_STAMP,Timestamp,integer
 AcctColumnDef StatusType,Acct-Status-Type
 AcctColumnDef UserName,User-Name
 AcctColumnDef SessionTime,Acct-Session-Time,integer
 AcctColumnDef InPackets,Acct-Input-Packets
 AcctColumnDef OutPackets,Acct-Output-Packets
 AcctColumnDef FoneID,Calling-Station-Id
 AcctColumnDef IpAddress,Framed-IP-Address
 AcctColumnDef TIME_STAMP,Timestamp,formatted-date,('%e %m %Y %H:%M:%S')
 /AuthBy

 AuthBy FILE
# This file is for users that can have more then 1 access per time \
# see file bellow
 DefaultSimultaneousUse 5
 Filename %D/userx
 /AuthBy

 AuthBy FILE
# This File is for users that can only connect on certain times \
# see file bellow
 DefaultSimultaneousUse 1
 Filename %D/userz
 /AuthBy

 AuthBy FILE
# This file sends all DEFAULT to authenticate against NT user database \
# see file bellow
 DefaultSimultaneousUse 1
 Filename %D/usery
 /AuthBy


 # 1 Log accounting to the detail file in LogDir
 AcctLogFileName   %L\%Y%m.act

 # 2 Log accounting to the detail file in LogDir
 AcctLogFileName   %L\%Y%m%d.act

/Realm

 AuthBy NT
 DefaultSimultaneousUse 1
 Identifier nt
 /AuthBy

# End of Config File
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- "Userx" file -

# User-File - Limits users access to max. of 5 simultaneous sessions

username1 User-Password = "password", Framed-Protocol = PPP

username2 User-Password = "password", Framed-Protocol = PPP

# End of User File
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- "Userz" file -

# User File - limits access hours

beltrame  Auth-Type=nt
Framed-Protocol = PPP
Time = Wk2100-2200,Sa1500-2400,Su-2400

# End of User File
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- "Usery" file -

# User-File - Limits user access to max. of 1 simultaneous session
# Sends authentication to hit against NT user Database

DEFAULT  Auth-Type=nt

# End of User File
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




Best Regards
Michael Gatti
Malbanet Serviços On-Line
Caxias do Sul - RS - Brazil



===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) NT User DataBase Options

1999-08-26 Thread Michael Gatti

Hi Everyone

I'm having some problems with my radiator
and I would like to make a question:
- does radiator honor the option:
- "Grant dialin permission to user"
in the Users Properties Window.
Because even if I disable this option, users
that try to gain access to the internt are
doing so.

Regards
Michael Gatti
Malbanet Serviços On-Line
Caxias do Sul - RS - Brasil




===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.