|
i change the process as follow to replace the username with a one from
a file but i have the following error, attr_rewrite fixusername { attribute = User-Name # may be "packet", "reply", "proxy", "proxy_reply" or "config" searchin = proxy searchfor ="wanadoo" replacewith = %{exec:/bin/cat /var/www/html/user} 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 } error radius_xlat: 'wanadoo' WARNING: Attempt to use unknown xlat function, or non-existent attribute in string %{exec:/bin/cat} radius_xlat: '' rlm_attr_rewrite: xlat on replace string failed. Alan DeKok wrote: Ashraf Al-Basti wrote: |