On Wed, 14 Aug 2002, Alessandro Maioli wrote:
> Hi to all!
>
> I'm working with attr_rewrite to change my username realmess in a realm one
> (paperino -> [EMAIL PROTECTED]). Which is the regular expression to use in
> "replacewith" field of the modules.
>
> Thanks in advanced.
>
> Best regards.
attr_rewrite sanecallerid {
attribute = User-Name
# may be "packet", "reply", or "config"
searchin = packet
searchfor = "$"
replacewith = "@acme.com"
ignore_case = no
max_matches = 1 <--- This is important
}
--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED] National Technical University of Athens, Greece
Work Phone: +30 10 7721861
'Go back to the shadow' Gandalf
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html