OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: ufocia on June 16, 2020, 07:42:28 am

Title: FreeRadius Login-Time text validation error (bug?)
Post by: ufocia on June 16, 2020, 07:42:28 am
When inputting a reportedly valid Freeradius Login Time value "Wk2305-0855,Sa,Su2305-1655" (https://networkradius.com/doc/3.0.10/raddb/mods-available/logintime.html) the interface reports a "text validation error". Tried '|' instead of ',' per the above -linked doc to no avail.

Looks like a regex bug someplace. I'd try to fix it if I knew which file defines valid regex values for this parameter.
Title: Re: FreeRadius Login-Time text validation error (bug?)
Post by: mimugmail on June 16, 2020, 08:51:01 am
Correct, comma is missing in validation, I'll add a fix ..
Title: Re: FreeRadius Login-Time text validation error (bug?)
Post by: ufocia on June 16, 2020, 03:13:37 pm
Danke schoen!

Found it now and fixed it on my local system after skimming the plugin mod instructions on your website. Also saw your commit in Git. Thanks again for such a fast response.