> -----Original Message-----
> From: Hugh Irvine [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 10 May 2000 4:36 PM
> To: Andrew Pollock; [EMAIL PROTECTED]
> Subject: RE: (RADIATOR) Logging accounting records locally unmodified,
> then proxying without the realm
> 
> 
> 
> Hello Andrew -
> 
> On Wed, 10 May 2000, Andrew Pollock wrote:
> > > Then the simplest thing is to chain together two AuthBy's, the
> > > first to log the
> > > original username in standard format (an AuthBy FILE with a
> > > DEFAULT would do),
> > > and the second to do the rewrite and other processing.
> > >
> > > # configure two AuthBy's with an AuthByPolicy
> > >
> > > <Realm ....>
> > >   AuthByPolicy ContinueAlways
> > >   <AuthBy FILE>
> > >           Filename %D/default.accounting
> > >           AcctLogFileName .....
> > >   <AuthBy
> > >   <AuthBy ....
> > >           RewriteUsername .....
> > >           ....
> > >   </AuthBy>
> > > </Realm>
> > 
> > That sounds cool, but according the documentation, I can only use
> > AcctLogFileName and RewriteUsername (and friends) inside a 
> Realm/Handler,
> > not inside an AuthBy clause itself... I'll give it a try, but 
> I'm dubious
> > about it working.
> > 
> 
> Ooops - you are partly right. The AcctLogFileName is intended for a
> Realm/Handler, but you can have as many RewriteUsername's as you 
> like, and you
> can use them in an AuthBy GROUP.
> 
> So - one more try ....
> 
> <Realm .....>
>       AcctLogFileName .......
>       <AuthBy GROUP>
>               RewriteUsername .......
>               <AuthBy .....>
>                       .....
>               </AuthBy>
>       </AuthBy>
> </Realm>
> 
> Sorry about the confusion.

That's okay. That also worked a treat. Thanks very much.

Andrew

===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to