From e5785ff748f93b66879d8bd0393c208c6df574a9 Mon Sep 17 00:00:00 2001 From: RageLtMan Date: Wed, 24 Aug 2022 21:36:32 -0400 Subject: T3896: update group syntax per PR1463 --- data/templates/ocserv/ocserv_config.j2 | 4 ++-- interface-definitions/vpn-openconnect.xml.in | 4 ++-- 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 @@ - + - Groups that a client is allowed to select from. Maps to RADIUS Class attribute. + Group that a client is allowed to select (from a list). Maps to RADIUS Class attribute. txt Group string. The group may be followed by a user-friendly name in brackets: group1[First Group] -- cgit v1.2.3