Title: Re: (RADIATOR) Detecting login with prefixes

Hello Elias -

At 13:12 +0700 28/3/31, Elias wrote:
Hi,
 
Is there a way to detect login prefixes with radiator? I want to detect logins such as [EMAIL PROTECTED] [prefix/login@domain] and proxy the request to another radius server. Can this be done? Thanks.
 
 


This is very easily done with Handlers and Perl regexp's:

# configure AuthBy RADIUS clause for proxy

<AuthBy RADIUS>
        Identifier ProxyTo....
        .....
</AuthBy>

# special Handler for prefix and proxy
# where "prefix" is the string you want to match

<Handler User-Name = /^prefix...../>
        RewriteUsername ......
        AuthBy ProxyTo....
</Handler>

You will need to consult the Camel book (Perl reference) for the exact syntax of the regexp for what you want to do.

hth

Hugh


       


--
NB: I am travelling this week, so there may be delays in our correspondence.

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.

Reply via email to