On Apr 26,  2:43pm, Chris M wrote:
> Subject: (RADIATOR) Linux again
> OK, I have AuthBy UNIX and AuthBy DBFILE working, so now I'm
> trying to turn on Realms.
> I have these rules:
> <Realm peakpeak.com>
>         # turn into lowercase
>         RewriteUsername tr/A-Z/a-z/
>         AuthByPolicy ContinueWhileAccept
>         <AuthBy UNIX>
>                 # strip realm name
>                 RewriteUsername s/^([^@]+)\@peakpeak\.com/$1/
> What I want to happen is for <AuthBy UNIX> to rewrite usernames
> [EMAIL PROTECTED] into just chrism.
> This RewriteUsername statement does not appear to do that :)  Any
> ideas?

The RewriteUsername should be inside the Realm clause, not the AuthBy clause.
AuthBy does not do RewriteUsername.


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.

Reply via email to