After changing authorize section have no result

authorize {

        attr_rewrite usernamebwc {
                attribute = User-Name
                # may be "packet", "reply", "proxy", "proxy_reply" or "config"
                searchin = packet
                searchfor = "^bwc"
                replacewith = "mobile"
                ignore_case = no
                new_attribute = no
                max_matches = 10
                                                            
               ## If set to yes then the replace string will be
               ## appended to the original string
                append = no
         }

Again
 Module: Checking authorize {...} for more modules to load
/usr/local/etc/raddb/sites-enabled/default[64]: Failed to load module "attr_rewrite".
/usr/local/etc/raddb/sites-enabled/default[62]: Errors parsing authorize section.
radiusd


Tue, 11 Nov 2014 09:11:34 -0500 от Alan DeKok <aland@deployingradius.com>:
Юрий Колесник wrote:
> Hi all
> Need to change the username during the connection bwc to mobile. But I
> can not boot module attr_rewrite. Same error on FreeRADIUS Version 2.2.0
> and FreeRADIUS Version 2.1.0
>
> I add in file site-enabled/default
>
> authorize {
> attr_rewrite
> .....
> }

  Which refers to "attr_rewrite"...

> File modules/attr_rewrite
> attr_rewrite usernamebwc {

  Which creates a module called "usernamebwc".

  So... use "usernamebwc" instead of "attr_rewrite" in the "authorize"
section.

  Alan DeKok.