30 Sep
2022
30 Sep
'22
9:14 a.m.
On Sep 30, 2022, at 5:04 AM, Olivier CALVANO <o.calvano@gmail.com> wrote:
but now i want same with all username and without check password
sample: *@my.realm Cleartext-Password := "*" Tunnel-Type:1 = L2TP, Tunnel-Medium-Type:1 = IPv4,
Why use the "files" module? It isn't designed to do what you want. The documentation on the files module is very clear on how it works. It doesn't do what you want, so you can't do it there.
I don't know how to do this, does anyone have a tip?
$ man unlang if (User-Name =~ /@my.realm$/) { update reply { Tunnel-Type;1 = L2TP Tunnel-Medium-Type:1 = IPv4 ... } } That will work. Alan DeKok.