<div dir="ltr"><div><div><div>Dear <span name="Arran Cudbard-Bell" class="">Arran Cudbard-Bell<br><br></span></div><span name="Arran Cudbard-Bell" class="">thanks for your reply<br><br></span></div><span name="Arran Cudbard-Bell" class="">can i use it in hint file ?<br>
<br></span></div><span name="Arran Cudbard-Bell" class="">best regards<br></span></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 27, 2013 at 10:03 PM, Arran Cudbard-Bell <span dir="ltr"><<a href="mailto:a.cudbardb@freeradius.org" target="_blank">a.cudbardb@freeradius.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
On 27 Apr 2013, at 12:11, Mehdi Ravanbakhsh <<a href="mailto:babakco@gmail.com">babakco@gmail.com</a>> wrote:<br>
<br>
> Dear All<br>
><br>
><br>
> I need to remove "m" character in end of all username<br>
><br>
> i think i should use hint but i can not find how ?<br>
<br>
</div></div>authorize {<br>
if (User-Name =~ /^(.*)m$/) {<br>
update request {<br>
User-Name := "%{1}"<br>
}<br>
}<br>
}<br>
<br>
Arran Cudbard-Bell <<a href="mailto:a.cudbardb@freeradius.org">a.cudbardb@freeradius.org</a>><br>
FreeRADIUS Development Team<br>
<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</blockquote></div><br></div>