On Apr 21, 9:55am, Enrique Vadillo wrote:
> Subject: Prefix removal?
> [*] ---- Mike McCauley escribi� ----
> [*] Try this:
> [*]
> [*] # For usernames starting with HELLO
> [*] <Handler User-Name=/^HELLO/>
> [*] <AuthBy RADIUS>
> [*] Host 200.56.78.9
> [*] Secret xxxx
> [*] </AuthBy>
> [*] </Handler>
>
> Ok but there's a question left: does this eliminate the prefix before
> the authentication is forwarded to host 200.56.78.9? because that server
> will be in fact a radius server that does not know how to handle
> this 'HELLO/' prefix, it's ascend radius by the way.
OK, in that case you add a RewriteUsername to strip the prefix prior to
forwarding:
<Handler User-Name=/^HELLO/>
RewriteUsername s/^HELLO//
<AuthBy RADIUS>
Host 200.56.78.9
Secret xxxx
</AuthBy>
</Handler>
>
> Thanks,
>
> Enrique-
>
> [*]
> [*] # For everything else:
> [*] <Handler>
> [*] <AuthBy RADIUS>
> [*] Host 200.56.78.89
> [*] Secret xxxx
> [*] </AuthBy>
> [*] </Handler>
> [*]
> [*] Hope that helps.
> [*]
> [*] Cheers.
> [*]
> [*] >
> [*] > Thank you all in advance,
> [*] >
> [*] > Enrique-
> [*] > --
> [*] > ----------------------------------------------
> [*] > RCP - Internet Peru Tel: +51 1 422-4848
> [*] > Dpto de Operaciones Fax: +51 1 421-8086
> [*] > ----------------------------------------------
> [*] >
> [*] > ===
> [*] > To unsubscribe, email '[EMAIL PROTECTED]' with
> [*] > 'unsubscribe radiator' in the body of the message.
> [*] >-- End of excerpt from Enrique Vadillo
> [*]
> [*]
> [*]
> [*] --
> [*] 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, external, etc etc on Unix, Win95/8, NT, Rhapsody
> [*] ===
> [*] To unsubscribe, email '[EMAIL PROTECTED]' with
> [*] 'unsubscribe radiator' in the body of the message.
> [*]
>
>
> --
> ----------------------------------------------
> RCP - Internet Peru Tel: +51 1 422-4848
> Dpto de Operaciones Fax: +51 1 421-8086
> ----------------------------------------------
>
>-- End of excerpt from Enrique Vadillo
--
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, external, etc etc on Unix, Win95/8, NT, Rhapsody
�
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.