summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-02-08 16:29:05 +0000
committerGitHub <noreply@github.com>2024-02-08 16:29:05 +0000
commit728c9c4bc82cb8f318ce199aac234a4c035e8c80 (patch)
treeac950b6a089cf65e2d0440c0c0e9a20ef95016c8 /python
parent722cb374db023766d240876b5464712d93570511 (diff)
parent018110200c9a82815dd5d0510f0732d7159c0d59 (diff)
downloadvyos-1x-728c9c4bc82cb8f318ce199aac234a4c035e8c80.tar.gz
vyos-1x-728c9c4bc82cb8f318ce199aac234a4c035e8c80.zip
Merge pull request #2950 from aapostoliuk/T5960-circinus
T5960: Rewritten authentication node in PPTP to a single view
Diffstat (limited to 'python')
-rw-r--r--python/vyos/accel_ppp_util.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/vyos/accel_ppp_util.py b/python/vyos/accel_ppp_util.py
index d60402e48..bd0c46a19 100644
--- a/python/vyos/accel_ppp_util.py
+++ b/python/vyos/accel_ppp_util.py
@@ -144,6 +144,10 @@ def verify_accel_ppp_base_service(config, local_users=True):
if "key" not in radius_config:
raise ConfigError(f'Missing RADIUS secret key for server "{server}"')
+ if dict_search('authentication.radius.dynamic_author.server', config):
+ if not dict_search('authentication.radius.dynamic_author.key', config):
+ raise ConfigError('DAE/CoA server key required!')
+
if "name_server_ipv4" in config:
if len(config["name_server_ipv4"]) > 2:
raise ConfigError(