On Nov 27, 2007 9:40 PM, Robert Graham <<a href="mailto:robgraham@nzcomms.co.nz">robgraham@nzcomms.co.nz</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all<br><br>I am a newbie to freeradius and I have searched the internet and all the<br>documentation I can find, however I cannot find a simple solution to the<br>following problem.<br><br>I want to have the freeradius server act as a proxy and receive radius
<br>requests in the form user@domain but then pass these requests to another<br>server that needs to have the request in domain\user format.<br><br>It would seem to be a simple format issue which you should be able to create
<br>an output template or something but I don't have a clue.<br><br>Running freeradius v 1.188.2.4.2.12<br><br><br>Rob Graham<br></blockquote></div><br>Hey Rob - I'd first upgrade to 1.1.7. <br><br>I think you can put:
<br><pre> DEFAULT User-Name =~ "^([^@]+)@<a href="http://realm.com">realm.com</a>", NAS-IP-Address == "<a href="http://127.0.0.1">127.0.0.1</a>"<br> User-Name := "%{1}\realm.com"</pre>
<br><a href="http://wiki.freeradius.org/Adding%2C_Removing%2C_Modifying_Attributes_for_further_processing">http://wiki.freeradius.org/Adding%2C_Removing%2C_Modifying_Attributes_for_further_processing</a> <br><br><br clear="all">
<br>-- <br>Nicholas Hall<br><a href="mailto:ngharo@gmail.com">ngharo@gmail.com</a><br>262.208.6271