Hi, I edit the inner-tunnel virtual server configuration file and uncomment the example policy under "post-auth" section. update outer.reply { User-Name := "%{request:User-Name}" } But in Access-Accept still the User-Name is "anonymous". Here is the debug output of the FreeRadius # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/inner-tunnel Info: +- entering group post-auth {...} Info: expand: %{request:User-Name} -> bob Info: ++[outer.reply] returns noop } # server inner-tunnel Then I enabled the use_tunneled_reply = yes ,in eap.conf. Even after that I can't see the User-Name attribute has modified in Access-Accept. Regards Champika On Mon, 11 July, 2011 3:57 pm, thembili@unix.lancs.ac.uk wrote:
Hi,
I am using EAP-TTLS and MSCHAPv2 to authenticate with FreeRadius server.How can I get the tunnelled User-Name (User-Name used in inner authentication phase) using unlang in FreeRADIUS server? Now I can only get the User-Name used for the outer authentication (ex: anonymous).
Best Regards Champika