Hello Alan, It's works fine for me Thanks for your help =) 2016-11-09 18:30 GMT-02:00 <A.L.M.Buxey@lboro.ac.uk>:
Hi,
I need to add attribute NAS-Port-Id and send this attribute with the same value of attribute UserName. I need to do this, because my accel-ppp needs attribute NAS-Port-Id to set the values of interfaces when client connect.
I dont want to add this atrribute NAS-Port-Id in all users (mysql), i know if i do this, the problem is solved. But my freeradius operate together my ERP, and its terrible to contact the support and request this modification.
I want to rewrite the Access-Accept adding NAS-Port-Id=UserName using UNLANG.
in recent server versions, something like int he post-auth section:
update reply { &NAS-Port-ID := &User-Name }
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html