<div>
<div>
<div><span class="q"> </span></div></div>
<div>
<div>I have bee struggling with problem for a few days now.</div>
<div> </div>
<div>I use Centos 4.3 and freeradius 1.0.1. I am trying to rewrite a username to include dashes. see my statement below in the rewrite section.</div>
<div> </div>
<div> searchfor = "([a-z0-9]{2})([a-z0-9]{2})([a-z0-9]{2})([a-z0-9]{2})([a-z0-9]{2})([a-z0-9]{2})<br> replacewith = "%{1}-%{2}-%{3}-%{4}-%{5}-%{6}" </div>
<div> </div>
<div>this is the output that i am getting in my radius.log file. </div></div>
<div>
<div>Thu May 11 14:36:24 2006 : Info: rlm_sql_mysql: Starting connect to MySQL server for #0<br>Thu May 11 14:36:24 2006 : Info: rlm_sql_mysql: Starting connect to MySQL server for #1<br>Thu May 11 14:36:24 2006 : Info: rlm_sql_mysql: Starting connect to MySQL server for #2
<br>Thu May 11 14:36:24 2006 : Info: rlm_sql_mysql: Starting connect to MySQL server for #3<br>Thu May 11 14:36:24 2006 : Info: rlm_sql_mysql: Starting connect to MySQL server for #4<br>Thu May 11 14:36:24 2006 : Info: Ready to process requests.
<br>Thu May 11 14:36:39 2006 : Auth: Login incorrect: [0e35-353afe-3afe19-fe19/NOPASSWORD] (from client$<br>Thu May 11 14:38:49 2006 : Auth: Login incorrect: [13ce-ce20f9-20f949-f949/NOPASSWORD] (from client$<br>Thu May 11 14:38:56 2006 : Auth: Login incorrect: [0e35-353ad7-3ad71b-d71b/NOPASSWORD] (from client$
<br> </div></div>
<div><span class="q">
<div> </div>
<div>PS i have even gone as far as downloading regular expression programs to check my code. If anybody has any suggestions or has encounted this problem before let me know.</div>
<div> </div>
<div> </div></span></div>
<div></div></div>