Skip to content
Snippets Groups Projects
Commit 1a7b279d authored by Jacob Cutright's avatar Jacob Cutright Committed by Rafael Guterres Jeffman
Browse files

Fix typo in ipapwpolicy.py

The 'maxsequence' attribute was never applied as there was a typo when
it was set. By fixing the field name, 'maxsequence' is correclty set.

The failure was not seen before due to missing tests. The tests will be
added in a separate PR.
parent 180afd75
No related branches found
No related tags found
No related merge requests found
...@@ -197,7 +197,7 @@ def gen_args(module, ...@@ -197,7 +197,7 @@ def gen_args(module,
if maxrepeat is not None: if maxrepeat is not None:
_args["ipapwdmaxrepeat"] = maxrepeat _args["ipapwdmaxrepeat"] = maxrepeat
if maxsequence is not None: if maxsequence is not None:
_args["ipapwdmaxrsequence"] = maxsequence _args["ipapwdmaxsequence"] = maxsequence
if dictcheck is not None: if dictcheck is not None:
if module.ipa_check_version("<", "4.9.10"): if module.ipa_check_version("<", "4.9.10"):
# Allowed values: "TRUE", "FALSE", "" # Allowed values: "TRUE", "FALSE", ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment