[RADIATOR] Problem with RewriteUsername

Amândio Antunes Gomes Silva amandio at scom.uminho.pt
Tue Oct 21 03:18:30 CDT 2008


Hi Guerra!

Try to escape the '@' character, since it's a special character to Perl. Replace your rwrite line with the following, and test:

RewriteUsername s/^([^@]+)\@test\.it/$1\@testing\.local/

Best regards,

Amândio Antunes

-----Mensagem original-----
De: radiator-bounces at open.com.au [mailto:radiator-bounces at open.com.au] Em nome de Nazzareno Guerra
Enviada: segunda-feira, 13 de Outubro de 2008 11:54
Para: radiator at open.com.au
Assunto: [RADIATOR] Problem with RewriteUsername

Hi all,
I've some problem with RewriteUsername.
I have the realm and the domain's name (domain in AD) different.

Portion of my .cfg:
<Handler Realm=test.it>
		RewriteUsername s/^([^@]+)@test\.it/$1 at testing\.local/


Error log:
Mon Oct 13 12:38:51 2008: ERR: Error while rewriting username
lisi at test.it: Global symbol "@test" requires explicit package name at
(eval 56) line 1.
Global symbol "@testing" requires explicit package name at (eval 56) line 1.

Can anyone help me?

-- 
Guerra Nazzareno
+393286872159
Key fingerprint = 96AB 5C5C ED50 4FA4 33CD  D5A8 E377 C5F7 B8D0 3EE8

_______________________________________________
radiator mailing list
radiator at open.com.au
http://www.open.com.au/mailman/listinfo/radiator



More information about the radiator mailing list