[Freeipa-devel] [freeipa PR#667][edited] idrange-mod: properly handle empty --dom-name option

flo-renaud freeipa-github-notification at redhat.com
Tue Apr 4 15:37:44 UTC 2017


   URL: https://github.com/freeipa/freeipa/pull/667
Author: flo-renaud
 Title: #667: idrange-mod: properly handle empty --dom-name option
Action: edited

 Changed field: body
Original value:
"""
When idrange-mod is called with --dom-name=, the CLI exits with
ipa: ERROR: an internal error has occurred
This happens because the code checks if the option is provided but does not
check if the value is None.

We need to handle empty dom-name as if the option was not specified.

https://pagure.io/freeipa/issue/6404
"""



More information about the Freeipa-devel mailing list