d.thembiliyagoda at lancaster.ac.uk d.thembiliyagoda at lancaster.ac.uk
Mon Jul 11 20:33:20 CEST 2011


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
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.


On Mon, 11 July, 2011 3:57 pm, thembili at 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

More information about the Freeradius-Users mailing list