Re: (RADIATOR) RewriteUser in AuthBy?

2003-02-20 Thread Hugh Irvine

Hello Chris -

To do what you describe below, the best way is to enclose your existing 
AuthBy clauses with an AuthBy GROUP and put the RewriteUsernames there. 
Note that in the second AuthBy GROUP, you will need to remove what was 
added in the first AuthBy GROUP.


AuthByPolicy ContinueUntilAccept

RewriteUsername s/^/foo#/

	...



RewriteUsername s/^foo#//
RewriteUsername s/^them#//
RewriteUsername s/$[EMAIL PROTECTED]/

	...




regards

Hugh


On Friday, Feb 21, 2003, at 08:11 Australia/Melbourne, Chris Fedde 
wrote:

On Thu, 20 Feb 2003 14:17:15 +1100  Hugh Irvine wrote:
 +--
 | Hello Chris -
 |
 | If you can recognise the different usernames, you can do this:
 |
 +--

The auth request comes in as, for example, User-Name = cfedde.


AuthByPolicy ContinueUntilAccept

	...


	...



But for the  clause I need

RewriteUsername s/^/foo#/

and for the  I need

RewriteUsername s/^them#//
RewriteUsername s/$[EMAIL PROTECTED]/

I'm not sure if I can make your recomendation do that. Am I just
overlooking something obvious?

Thanks
--
chris fedde
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.




--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

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



Re: (RADIATOR) RewriteUser in AuthBy?

2003-02-20 Thread Chris Fedde
On Thu, 20 Feb 2003 14:17:15 +1100  Hugh Irvine wrote:
 +--
 | Hello Chris -
 | 
 | If you can recognise the different usernames, you can do this:
 | 
 +--

The auth request comes in as, for example, User-Name = cfedde.


AuthByPolicy ContinueUntilAccept 

...


...



But for the  clause I need

RewriteUsername s/^/foo#/

and for the  I need

RewriteUsername s/^them#//
RewriteUsername s/$[EMAIL PROTECTED]/

I'm not sure if I can make your recomendation do that. Am I just
overlooking something obvious?

Thanks
--
chris fedde
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



Re: (RADIATOR) RewriteUser in AuthBy?

2003-02-19 Thread Hugh Irvine

Hello Chris -

If you can recognise the different usernames, you can do this:

# define Handlers for different cases


	RewriteUsername .
	
		.
	
	



	RewriteUsername .
	
		
	
	


regards

Hugh


On Thursday, Feb 20, 2003, at 12:14 Australia/Melbourne, Chris Fedde 
wrote:

I am transitioning a bunch of dialup users from one authserver to 
another.
I want to first check the new  and then check the old
.  My problem is that the LDAP2 directory uses a 
different
username encoding scheme than the legacy server.  Is ther a way to 
RewriteUser
inside an  clause or can I set up two  with  the same
selection conditions but different RewriteUser statements?

Thanks
--
Chris Fedde
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

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



(RADIATOR) RewriteUser in AuthBy?

2003-02-19 Thread Chris Fedde
I am transitioning a bunch of dialup users from one authserver to another.
I want to first check the new  and then check the old
.  My problem is that the LDAP2 directory uses a different
username encoding scheme than the legacy server.  Is ther a way to RewriteUser
inside an  clause or can I set up two  with  the same
selection conditions but different RewriteUser statements?

Thanks
--
Chris Fedde
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.