On May 4, 3:02pm, Felix Izquierdo wrote:
> Subject: Re: (RADIATOR) Realm authentication problems
> Mike McCauley wrote:
> > the prooblem is that you are logging in with fer8@interlinea2000, but in
the
> > user dataabse, your username is just fer8.
> >
> > Therefore you must add a rewriteUsername so that it strips the realm off
before
> > authenticating:
> >
>
> Mike, in relation with this issue, is it posible to strip the realm only
> for authentication but not for accounting?
No, not easily.
It might be possible to set up one Handler that does accounting and does not
strip the realm, and a differnt Handler than does strip the realm:
# This will handle acocunting starts and stops:
<Handler Acct-Status-Type=/Start|Stop/)
<AuthBy ....
</Handler>
# This will handle all the rest:
<Handler>
RewriteUsername ....
<AuthBy ....
</Handler>
See what I mean? But that may not be suitable to you because of other
constraints on how you are using Handlers and Realms?
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
===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.