I need to rewrite a username within a specific client ONLY if it has a
certain one of the domains I proxy in it.
i.e.:
I proxy xyz.com with a Realm already.
I proxy abc.com with a Realm already.
If someone logs into client X as [EMAIL PROTECTED], rewrite to
username@xyz-special.
If anyone logs into client X as [EMAIL PROTECTED] leave it untouched.
I tried an example (realm to realm rewrite) from the manual similar to:
<Client X>
Secret foo
RewriteUsername s/^([^@]+)@xyz.com/$1@xyz-special/
DefaultRealm xyz-special
</Client>
<Realm xyz-special>
...
</Realm>
But the rewrite is being ignored and any "[EMAIL PROTECTED]" logins to Client
X are just being passed as is to the xyz.com Realm, untouched. I'm not a
kung-fu Perl regex master but it *looks* good to me...
===
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.