do not need to have the v4 "::" prefix. This flag helps with migrating v3
configurations to v4.
-Default value "false". Allowerd vlaues, "true' and "false".
+Default value "false". Allowed vaues, `true` and `false`.
```
files {
moddir = ${modconfdir}/${.:instance}
-# key = "%{&Stripped-User-Name || &User-Name}"
+# key = "%{Stripped-User-Name || User-Name}"
filename = ${moddir}/authorize
-# match_attr = &control.User-Category
+# match_attr = control.User-Category
# v3_compat = false
}
files files_accounting {
-# key = "%{&Stripped-User-Name || &User-Name}"
+# key = "%{Stripped-User-Name || &User-Name}"
filename = ${modconfdir}/files/accounting
}
```
#
# doc/antora/modules/raddb/pages/mods-config/files/users.adoc
#
-# key = "%{&Stripped-User-Name || &User-Name}"
+# key = "%{Stripped-User-Name || User-Name}"
#
# filename:: The old `users` style file is now located here.
# value will be the subnet. In that case it is best to use `0.0.0.0/0` in place
# of `DEFAULT` for any catch-all entries.
#
-# match_attr = &control.User-Category
+# match_attr = control.User-Category
#
# v3_compat:: Version 3 compatibility flag.
# do not need to have the v4 "::" prefix. This flag helps with migrating v3
# configurations to v4.
#
- # Default value "false". Allowerd vlaues, "true' and "false".
+ # Default value "false". Allowed vaues, `true` and `false`.
#
# v3_compat = false
}
# ## An instance of the `files` module for use in processing accounting packets
#
files files_accounting {
-# key = "%{&Stripped-User-Name || &User-Name}"
+# key = "%{Stripped-User-Name || &User-Name}"
filename = ${modconfdir}/files/accounting
}
FR_CALL_ENV_METHOD_OUT(rlm_files_env_t),
.env = (call_env_parser_t[]){
{ FR_CALL_ENV_PARSE_ONLY_OFFSET("key", FR_TYPE_VOID, CALL_ENV_FLAG_PARSE_ONLY, rlm_files_env_t, data),
- .pair.dflt = "%{%{Stripped-User-Name} || %{User-Name}}", .pair.dflt_quote = T_DOUBLE_QUOTED_STRING,
+ .pair.dflt = "%{Stripped-User-Name || User-Name}", .pair.dflt_quote = T_DOUBLE_QUOTED_STRING,
.pair.func = call_env_parse },
{ FR_CALL_ENV_PARSE_ONLY_OFFSET("match_attr", FR_TYPE_VOID, CALL_ENV_FLAG_ATTRIBUTE, rlm_files_env_t, match_attr) },
CALL_ENV_TERMINATOR