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.



Re: (RADIATOR) Re: Simultaneous Logins

1999-07-13 Thread Mike McCauley

Hi Michael,

On Jul 13,  5:48pm, Michael Gatti wrote:
 Subject: Re: (RADIATOR) Re: Simultaneous Logins
 Hello

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

Yes, provided you have the recently patched version of AuthGeneric.pm.
Note also that AuthBy NT on its own does not implement sim-use checking. If you
need to use sim-use checking with NT authentication, you should use Auth-Type
to cascade from your FILE to your NT authenticator.

eg:

Realm whatever
# Keep going until a file accepts
AuthByPolicy ContinueWhileReject
AuthBy FILE
DefaultSimultaneousUse 5
Filename %D/x
/AuthBy
AuthBy FILE
DefaultSimultaneousUse 1
Filename %D/y
/AuthBy
/Realm
AuthBy NT
Identifier nt

/AuthBy

and in file x:

# This bloke gets limit of 5 (defaulted in the AuthBy)
jim Password=jim
reply item,
reply item

and in file y:

# If they were not in the x file
#Give everyone a limit of 1, authenticated from NT
DEFAULT Auth-Type=nt
reply item,
reply item

etc

Hope that helps.

Cheers.


 --

 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.
-- End of excerpt from Michael Gatti



-- 
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, f

(RADIATOR) Re: Simultaneous Logins

1999-07-12 Thread Mike McCauley

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.