technomax review modification

This commit is contained in:
Matthieu Bourgain 2024-04-19 14:03:07 +02:00
commit efe8ad2fd9
No known key found for this signature in database
GPG key ID: 33BA95C808890C39
2 changed files with 7 additions and 7 deletions

View file

@ -509,6 +509,9 @@ def main():
module.fail_json(msg="password_expire_interval value \
should be positive number")
if salt and plugin not in ['caching_sha2_password', 'sha256_password']:
module.fail_json(msg="salt requires caching_sha2_password or sha256_password plugin")
cursor = None
try:
if check_implicit_admin: