Convert from user at domain to domain\user

Nicholas Hall ngharo at gmail.com
Wed Nov 28 06:58:02 CET 2007


On Nov 27, 2007 9:40 PM, Robert Graham <robgraham at nzcomms.co.nz> wrote:

> Hi all
>
> I am a newbie to freeradius and I have searched the internet and all the
> documentation I can find, however I cannot find a simple solution to the
> following problem.
>
> I want to have the freeradius server act as a proxy and receive radius
> requests in the form user at domain but then pass these requests to another
> server that needs to have the request in domain\user format.
>
> It would seem to be a simple format issue which you should be able to
> create
> an output template or something but I don't have a clue.
>
> Running freeradius v 1.188.2.4.2.12
>
>
> Rob Graham
>

Hey Rob - I'd first upgrade to 1.1.7.

I think you can put:

    DEFAULT User-Name =~ "^([^@]+)@realm.com", NAS-IP-Address == "127.0.0.1"
         User-Name := "%{1}\realm.com"


http://wiki.freeradius.org/Adding%2C_Removing%2C_Modifying_Attributes_for_further_processing



-- 
Nicholas Hall
ngharo at gmail.com
262.208.6271
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20071127/b511ccb9/attachment.html>


More information about the Freeradius-Users mailing list