summaryrefslogtreecommitdiff
path: root/interface-definitions/include/radius-server-ipv4-ipv6.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-21 10:08:20 +0100
committerGitHub <noreply@github.com>2023-11-21 10:08:20 +0100
commitbdf0a3b288f93f2e8257106de968ddaa3fca0e21 (patch)
treeb44029f81f1a47a86b475a00d0b22587addfd2db /interface-definitions/include/radius-server-ipv4-ipv6.xml.i
parent471e26233e2e1c7b4ad20aff673a18ac5d745296 (diff)
parentd7457268fcaa5626e512eb00a9aab36f4a617f28 (diff)
downloadvyos-1x-bdf0a3b288f93f2e8257106de968ddaa3fca0e21.tar.gz
vyos-1x-bdf0a3b288f93f2e8257106de968ddaa3fca0e21.zip
Merge pull request #2513 from zdc/T5577-equuleus
PAM: T5577: Optimized RADIUS PAM config (backport from circinus)
Diffstat (limited to 'interface-definitions/include/radius-server-ipv4-ipv6.xml.i')
-rw-r--r--interface-definitions/include/radius-server-ipv4-ipv6.xml.i20
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/include/radius-server-ipv4-ipv6.xml.i b/interface-definitions/include/radius-server-ipv4-ipv6.xml.i
index 5b12bec62..6a432bac9 100644
--- a/interface-definitions/include/radius-server-ipv4-ipv6.xml.i
+++ b/interface-definitions/include/radius-server-ipv4-ipv6.xml.i
@@ -47,6 +47,26 @@
<multi/>
</properties>
</leafNode>
+ <leafNode name="security-mode">
+ <properties>
+ <help>Security mode for RADIUS authentication</help>
+ <completionHelp>
+ <list>mandatory optional</list>
+ </completionHelp>
+ <valueHelp>
+ <format>mandatory</format>
+ <description>Deny access immediately if RADIUS answers with Access-Reject</description>
+ </valueHelp>
+ <valueHelp>
+ <format>optional</format>
+ <description>Pass to the next authentication method if RADIUS answers with Access-Reject</description>
+ </valueHelp>
+ <constraint>
+ <regex>(mandatory|optional)</regex>
+ </constraint>
+ </properties>
+ <defaultValue>optional</defaultValue>
+ </leafNode>
</children>
</node>
<!-- include end -->