Files
freeipa/ipalib
Florence Blanc-Renaud 4295df17a4 ipa host-add: do not raise exception when reverse record not added
When ipa host-add --random is unable to add a reverse record (for instance
because the server does not manage any reverse zone), the command
adds the host but exits (return code=1) with an error without actually
outputing the random password generated.
With this fix, the behavior is modified. The commands succeeds (return code=0)
but prints a warning.

This commit also adds a unit test.

https://pagure.io/freeipa/issue/7374

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2018-02-23 14:39:34 +01:00
..
2015-09-01 11:42:01 +02:00
2016-11-24 15:46:40 +01:00
2017-11-21 16:13:28 +01:00
2017-02-17 10:22:07 +01:00
2017-10-25 09:46:41 +02:00
2018-01-31 16:03:19 +01:00
2016-10-20 18:43:37 +02:00