<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thank you for the quick reply. <div><br></div><div>I've tried this solution but the results are not what I expected. </div><div><br></div><div>In fact i defined the following <i>realm </i>module:</div><div><br></div><div><div>realm wimax_decorator { </div><div><span class="Apple-tab-span" style="white-space: pre; "> </span>format = prefix </div><div><span class="Apple-tab-span" style="white-space: pre; "> </span>delimiter = "}" </div><div><span class="Apple-tab-span" style="white-space: pre; "> </span>ignore_default = no </div><div><span class="Apple-tab-span" style="white-space: pre; "> </span>ignore_null = no </div><div>}<span class="Apple-tab-span" style="white-space: pre; "> </span><br></div><div><br></div><div>and i make FR to call it during authorize phase.</div><div><br></div><div>The client show up with this NAI {<a href="mailto:am=1}utenteA@nap.com">am=1}utenteA@nap.com</a> and the module output (from radiusd -X) is the following.</div><div><br></div><div>..</div><div>..</div><div><div>[wimax_decorator] Looking up realm "{am=1" for User-Name = "<a href="mailto:{am=1}utenteA@nap.com">{am=1}utenteA@nap.com</a>";</div><div>[wimax_decorator] Found realm "DEFAULT"</div><div>[wimax_decorator] Adding Stripped-User-Name = "<a href="mailto:utenteA@nap.com">utenteA@nap.com</a>";</div><div>[wimax_decorator] Adding Realm = "DEFAULT"</div><div>[wimax_decorator] Authentication realm is LOCAL.</div><div>..</div><div>..</div><div><br></div><div><br></div><div>The problem is that all my subsequent queries suppose the Attribute User-Name to be <i><a href="mailto:utenteA@nap.com">utenteA@nap.com</a> </i>instead of <i><a href="mailto:{am=1}utenteA@nap.com">{am=1}utenteA@nap.com</a> </i>so I keep getting <i>null </i>result set from the Oracle DB since there aren't entries for {<span class="Apple-style-span" style="font-style: italic; "><a href="mailto:am=1}utenteA@nap.com">am=1}utenteA@nap.com</a> </span>in the DB. A possible solution could be making the sql module to use Stripped-User-Name instead of the User-Name for the queries but I was looking for a solution that doesn't involve the code.</div><div><br></div><div>Am i making any mistake above? Any other ideas?</div><div><br></div><div>Thank you,</div><div><br></div><div>Lu</div></div><div><br></div><div><br></div><div><br></div><div><br><div><div>Il giorno 02/dic/08, alle ore 16:28, <a href="mailto:A.L.M.Buxey@lboro.ac.uk">A.L.M.Buxey@lboro.ac.uk</a> ha scritto:</div><blockquote type="cite"><span class="Apple-style-span" style="color: rgb(0, 0, 0); ">1) set 'prefix' to be }<br><br>with this, anything before and including }<br>(which may never appear as a realm or username)<br>would be treated like a NT domain and be stripped<br>off logically</span></blockquote><div><br></div></div></div></div></div></div></body></html>