<div dir="ltr"><div>OK, So I see there is a preprocess module that says you can manipulate attributes:<br><br>#  The preprocess module takes care of sanitizing some bizarre<br>#  attributes in the request, and turning them into attributes<br>
#  which are more standard.<br><br> so I added the following:<br><br><br>   if (User-Password =~ /^(.+)([0-9]{6})$/) {
<br>     update request {
<br>       User-Password = "%{1}"
<br>       Some-PIN-Attr = "%{2}"
<br>     }
<br>   }
<br><br></div>Although it did not trim the password and returned Access_Reject (I also saw from the debug that the 6 digit number had not been trimmed) , so I also attempted to add this to the ntlm_auth module with the same result, I am really at a loss here..<br>
<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 17, 2013 at 1:44 PM, Phil Mayers <span dir="ltr"><<a href="mailto:p.mayers@imperial.ac.uk" target="_blank">p.mayers@imperial.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 17/04/13 13:00, P. Manton wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Although it complains in the debug (radiusd -XXX) about the following:<br>
<br>
Wed Apr 17 12:47:23 2013 : Debug: including configuration file<br>
/etc/freeradius/sites-enabled/<u></u>default<br>
Wed Apr 17 12:47:23 2013 : Error:<br>
/etc/freeradius/sites-enabled/<u></u>default[216]: Too many closing braces<br>
Wed Apr 17 12:47:23 2013 : Error: Errors reading<br>
/etc/freeradius/radiusd.conf<br>
</blockquote>
<br></div>
Yes, because you just made up syntax.<br>
<br>
Look again at the examples you were given, and the examples that come with the server.<div class="HOEnZb"><div class="h5"><br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/<u></u>list/users.html</a><br>
</div></div></blockquote></div><br></div>