Re: (RADIATOR) Multiple instances of the same username ??

1999-07-22 Thread Mike McCauley

Hi Gary,

It is not possible to have 2 different users with teh same username in the same
users file.

If the users are indeed different, you can specify a different Handler for each
different number, and have a separate user database for each Handler.
Alternatively you could chain 2 AuthBy FILE clauses, with the first user in
one and the second user in another.

Neither are really great solutions, but I dont think there is any option if
that is what you intend to do. If you wish to discuss this further, please let
us a bit more about what you are trying to accomplish.

Cheers.


On Jul 22, 10:55am, Gary wrote:
 Subject: Re: (RADIATOR) Multiple instances of the same username ??
 On Wed, 21 Jul 1999 16:06:09 -0500, Mike McCauley wrote:

 Hi Gary,
 
 On Jul 21,  1:49pm, Gary wrote:
  Subject: (RADIATOR) Multiple instances of the same username ??
  Many thanks to those that are helping me on the Tigris issue...
 
  Now is it possible to have multiple instances of the same username but
  different "passwords in radius ??
 
  username   Calling-Station-Id=12345678
 
  
 
  username   Calling-Station-Id=45678899
 
 
  Or will radius just see the first if its the second and just bomb out
  authenticating on the second ??
 The username is a unique key, so its not possible to have 2 user entries
with
 teh same username.
 
 As Tom Minchin pointed out, if these are really the same user, you can have
a
 regexp in the check items:
 
 
 username Calling-Station-Id=/12345678|232323232/
 
 Cheers.

 Thats great, but if they are actually two different users with the same
 name, say one requiring a static ip, seems radius only seems the first
 username in the file and will give a rejected authorisation.

 Is there maybe a way to change this behaviour ?

 Gary
 ---
 Ausmail
 Your virtual home on the net.
 Email, News  Home pages.
 ---
 Coming soon !!


-- End of excerpt from Gary



-- 
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.



Re: (RADIATOR) Multiple instances of the same username ??

1999-07-21 Thread Gary

On Wed, 21 Jul 1999 16:06:09 -0500, Mike McCauley wrote:

Hi Gary,

On Jul 21,  1:49pm, Gary wrote:
 Subject: (RADIATOR) Multiple instances of the same username ??
 Many thanks to those that are helping me on the Tigris issue...

 Now is it possible to have multiple instances of the same username but
 different "passwords in radius ??

 username Calling-Station-Id=12345678

 

 username Calling-Station-Id=45678899


 Or will radius just see the first if its the second and just bomb out
 authenticating on the second ??
The username is a unique key, so its not possible to have 2 user entries with
teh same username.

As Tom Minchin pointed out, if these are really the same user, you can have a
regexp in the check items:


username   Calling-Station-Id=/12345678|232323232/

Cheers.

Thats great, but if they are actually two different users with the same
name, say one requiring a static ip, seems radius only seems the first
username in the file and will give a rejected authorisation.

Is there maybe a way to change this behaviour ?

Gary
---
Ausmail 
Your virtual home on the net.
Email, News  Home pages.
---
Coming soon !!


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



(RADIATOR) Multiple instances of the same username ??

1999-07-20 Thread Gary

Many thanks to those that are helping me on the Tigris issue...

Now is it possible to have multiple instances of the same username but
different "passwords in radius ??

usernameCalling-Station-Id=12345678



usernameCalling-Station-Id=45678899


Or will radius just see the first if its the second and just bomb out
authenticating on the second ??

Gary


---
Ausmail 
Your virtual home on the net.
Email, News  Home pages.
---
Coming soon !!


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



Re: (RADIATOR) Multiple instances of the same username ??

1999-07-20 Thread Gary

On Wed, 21 Jul 1999 12:45:38 +1000, tom minchin wrote:

On Wed, Jul 21, 1999 at 01:49:39PM +1000, Gary wrote:
 Many thanks to those that are helping me on the Tigris issue...
 
 Now is it possible to have multiple instances of the same username but
 different "passwords in radius ??
 
 username Calling-Station-Id=12345678
 
 
 
 username Calling-Station-Id=45678899
 
 
 Or will radius just see the first if its the second and just bomb out
 authenticating on the second ??
 

It'll continue on until it gets an accept or falls off the end of the file.

Can also have:

username   Calling-Station-Id=/123456|7654321/

Saves you a line.

[EMAIL PROTECTED]

Ah, but thats harder to track plus wont give the user name for
accounting

I will actually try separate setups for each one, but it is an easy way
to give a user 2 numbers to dial in from thanks...

The biggest pain in all this is the different requirements for
different dialin boxes...

methinks, my ascend gear will be sale, I like the tigris too much :-)

Gary
---
Ausmail 
Your virtual home on the net.
Email, News  Home pages.
---
Coming soon !!


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



Re: (RADIATOR) Multiple instances of the same username ??

1999-07-20 Thread Mike McCauley

Hi Gary,

On Jul 21,  3:56pm, Gary wrote:
 Subject: Re: (RADIATOR) Multiple instances of the same username ??
 On Wed, 21 Jul 1999 12:45:38 +1000, tom minchin wrote:

 On Wed, Jul 21, 1999 at 01:49:39PM +1000, Gary wrote:
  Many thanks to those that are helping me on the Tigris issue...
 
  Now is it possible to have multiple instances of the same username but
  different "passwords in radius ??
 
  username   Calling-Station-Id=12345678
 
  
 
  username   Calling-Station-Id=45678899
 
 
  Or will radius just see the first if its the second and just bomb out
  authenticating on the second ??
 
 
 It'll continue on until it gets an accept or falls off the end of the file.
 
 Can also have:
 
 username Calling-Station-Id=/123456|7654321/
 
 Saves you a line.
 
 [EMAIL PROTECTED]

 Ah, but thats harder to track plus wont give the user name for
 accounting

 I will actually try separate setups for each one, but it is an easy way
 to give a user 2 numbers to dial in from thanks...

 The biggest pain in all this is the different requirements for
 different dialin boxes...

If thats the case, you should probably consider using Handlers to distinguish
between your NAS types:

Handler NAS-IP-Address=1.2.3.4
AuthBy whatever
.

AddToReply standard reply items for this NAS
/AuthBy
/Handler

Handler NAS-IP-Address=1.2.3.5
AuthBy whatever
.

AddToReply standard reply items for this NAS
/AuthBy
/Handler

etc

Just a suggestion.

Cheers.




-- 
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.