diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-25 14:00:26 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-25 14:01:58 +0200 |
commit | 7765d528ce304275350f87c748fa7988ffb4bc26 (patch) | |
tree | 16d23f4d58453d04f7e3d92a372d4bd32796cb3d /data | |
parent | 35dc9d35c5d97e1c7d4fc0602ad437f1eb373b94 (diff) | |
download | vyos-1x-7765d528ce304275350f87c748fa7988ffb4bc26.tar.gz vyos-1x-7765d528ce304275350f87c748fa7988ffb4bc26.zip |
login: radius: T2304: add VRF support
This allows the radius client to work when a management VRF is in use.
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/system-login/pam_radius_auth.conf.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/system-login/pam_radius_auth.conf.tmpl b/data/templates/system-login/pam_radius_auth.conf.tmpl index 6cff67867..ad196fa3d 100644 --- a/data/templates/system-login/pam_radius_auth.conf.tmpl +++ b/data/templates/system-login/pam_radius_auth.conf.tmpl @@ -10,4 +10,8 @@ priv-lvl 15 mapped_priv_user radius_priv_user + +{% if radius_vrf %} +vrf-name {{ radius_vrf }} +{% endif %} {% endif %} |