Modify NAS-Port-Id value in mysql

Giedrius Baronas g.baronas at gmail.com
Tue Dec 7 22:02:18 CET 2021


I write in authorisation section. First I check NAS-Port exist, split to variables witch check in db

Pagarbiai, 
Giedrius
861569551

> On 2021-12-07, at 22:47, Yannick Champs <ychamps at gmail.com> wrote:
> 
>  Hi all,
> 
> how can I modify NAS-Port-Id attribute value (truncate string operation)
> before it gets recorded in MySQL database.
> I've read about ulang and understand that /etc/raddb/sites-enabled/default
> file should be modified.
> which section "post-auth", "preacct", "accounting" should I modify ?
> Is there another way to do it ?
> 
> Thank you in advance.
> 
> -- 
> Yannick
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list