Re: Convert from user@domain to domain\user
On Nov 27, 2007 9:40 PM, Robert Graham <robgraham@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@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@gmail.com
262.208.6271
This archive was generated by a fusion of
Pipermail (Mailman edition) and
MHonArc.