summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRageLtMan <rageltman [at] sempervictus>2022-08-24 21:36:32 -0400
committerRageLtMan <rageltman [at] sempervictus>2022-08-24 21:36:32 -0400
commite5785ff748f93b66879d8bd0393c208c6df574a9 (patch)
tree3425880f33882050ddef72ccdfce48b9fbaf5546
parent4a5e4cfd6c11a6eed3252744ec45638249d6d2b1 (diff)
downloadvyos-1x-e5785ff748f93b66879d8bd0393c208c6df574a9.tar.gz
vyos-1x-e5785ff748f93b66879d8bd0393c208c6df574a9.zip
T3896: update group syntax per PR1463
-rw-r--r--data/templates/ocserv/ocserv_config.j24
-rw-r--r--interface-definitions/vpn-openconnect.xml.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/data/templates/ocserv/ocserv_config.j2 b/data/templates/ocserv/ocserv_config.j2
index fef49d30f..1d105113d 100644
--- a/data/templates/ocserv/ocserv_config.j2
+++ b/data/templates/ocserv/ocserv_config.j2
@@ -93,9 +93,9 @@ split-dns = {{ tmp }}
{% endfor %}
{% endif %}
-{% if authentication.groups is vyos_defined %}
+{% if authentication.group is vyos_defined %}
# Group settings
-{% for grp in authentication.groups %}
+{% for grp in authentication.group %}
select-group = {{ grp }}
{% endfor %}
{% endif %} \ No newline at end of file
diff --git a/interface-definitions/vpn-openconnect.xml.in b/interface-definitions/vpn-openconnect.xml.in
index 7167b5d8d..522465611 100644
--- a/interface-definitions/vpn-openconnect.xml.in
+++ b/interface-definitions/vpn-openconnect.xml.in
@@ -50,9 +50,9 @@
</leafNode>
</children>
</node>
- <leafNode name="groups">
+ <leafNode name="group">
<properties>
- <help>Groups that a client is allowed to select from. Maps to RADIUS Class attribute.</help>
+ <help>Group that a client is allowed to select (from a list). Maps to RADIUS Class attribute.</help>
<valueHelp>
<format>txt</format>
<description>Group string. The group may be followed by a user-friendly name in brackets: group1[First Group]</description>