diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-02 16:08:57 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-02 16:16:21 +0200 |
commit | 658de9ea0fbe91e593f9cf0a8c434791282af100 (patch) | |
tree | b192536d96c45778a2be9261a44f0bc125ac1372 /src/conf_mode/protocols_static.py | |
parent | 8032f4bb72db064d2b3f6f0954f6674091822cc4 (diff) | |
download | vyos-1x-658de9ea0fbe91e593f9cf0a8c434791282af100.tar.gz vyos-1x-658de9ea0fbe91e593f9cf0a8c434791282af100.zip |
login: T3792: bugfix for usernames containing a hyphen
While migrating to get_config_dict() in commit e8a1c291b1 ("login: radius:
T3192: migrate to get_config_dict()") the user-name was not excluded
from mangling (no_tag_node_value_mangle=True).
This resulted in a username "vyos-user" from CLI to be actually created as
"vyos_user" on the system.
This commit also adds respective Smoketests to prevent this in the future.
Diffstat (limited to 'src/conf_mode/protocols_static.py')
0 files changed, 0 insertions, 0 deletions