Files
freeipa/ipaserver/plugins
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
..
2010-12-20 17:19:53 -05:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2017-03-27 19:08:26 +02:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2018-02-09 08:57:41 +01:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2017-09-18 11:44:08 +02:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2017-12-12 12:53:21 +01:00
2018-02-09 08:57:41 +01:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2017-03-27 19:08:26 +02:00
2018-01-09 07:53:28 +01:00
2017-03-27 19:08:26 +02:00
2017-03-27 19:08:26 +02:00
2018-01-31 16:03:19 +01:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2017-09-08 15:42:07 +02:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2016-08-17 16:55:49 +02:00