<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
i change the process as follow to replace the username with a one from
a file but i have the following error,<br>
attr_rewrite fixusername {<br>
                attribute = User-Name<br>
                # may be "packet", "reply", "proxy", "proxy_reply" or
"config"<br>
                searchin = proxy<br>
                searchfor ="wanadoo"<br>
                replacewith = %{exec:/bin/cat /var/www/html/user}<br>
                ignore_case = no<br>
                new_attribute = no<br>
                max_matches = 10<br>
        #       ## If set to yes then the replace string will be
appended to the original string<br>
#               append = no<br>
        }<br>
<br>
error<br>
radius_xlat:  'wanadoo'<br>
WARNING: Attempt to use unknown xlat function, or non-existent
attribute in string %{exec:/bin/cat}<br>
radius_xlat:  ''<br>
rlm_attr_rewrite: xlat on replace string failed.<br>
<br>
<br>
Alan DeKok wrote:
<blockquote cite="mid45C59E93.3070706@deployingradius.com" type="cite">
  <pre wrap="">Ashraf Al-Basti wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Thanks Alan......
But do have any idea to work around that?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  See the FAQ.  If the NAS doesn't send data in an accounting packet, go
read the NAS documentation to see how to configure it to send that
information.

  But send User-Password?  Nope.  It's impossible.

  Alan DeKok.
--
  <a class="moz-txt-link-freetext" href="http://deployingradius.com">http://deployingradius.com</a>       - The web site of the book
  <a class="moz-txt-link-freetext" href="http://deployingradius.com/blog/">http://deployingradius.com/blog/</a> - The blog

List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>

  </pre>
</blockquote>
</body>
</html>