summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>