summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-02 20:33:48 +0100
committerChristian Poessinger <christian@poessinger.com>2022-01-02 20:33:48 +0100
commitd39187f4bde6369c1bccd547239fe1647746ecd2 (patch)
treecbbbf56cf8309183b489b26663060d70108eddd8
parent522c9d916e390f797290c8b4c9af36cf9639cbbc (diff)
downloadvyos-1x-d39187f4bde6369c1bccd547239fe1647746ecd2.tar.gz
vyos-1x-d39187f4bde6369c1bccd547239fe1647746ecd2.zip
Revert "snmp: T4093: add missing verify() step for required group per snmp v3 user"
This reverts commit 522c9d916e390f797290c8b4c9af36cf9639cbbc.
-rwxr-xr-xsrc/conf_mode/snmp.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/conf_mode/snmp.py b/src/conf_mode/snmp.py
index dc7e29ca5..f796e9978 100755
--- a/src/conf_mode/snmp.py
+++ b/src/conf_mode/snmp.py
@@ -625,10 +625,6 @@ def verify(snmp):
# Group must exist prior to mapping it into a group
# seclevel will be extracted from group
#
- if 'group' not in user or user['group'] == '':
- username = user['name']
- raise ConfigError(f'Group membership required for user "{username}"!')
-
if user['group']:
error = True
if 'v3_groups' in snmp.keys():