On 08/20/2015 10:28 AM, David Kupka wrote:
On 31/07/15 13:32, Martin Basti wrote:
On 30/07/15 14:38, Martin Basti wrote:
On 29/07/15 16:12, David Kupka wrote:
You forgot to update API.txt file
Thanks for catching that. Updated patch attached.
I'm just curious, what is the reason to check if forward zone exists?
IMO forwardzone must exists somewhere as the master zone. I don't think
we should check forwardzones, this may give too many false positive
AIUI if the zone exist somewhere and is resolvable there is no need to
add it as a forward zone. If user for some reason want to do it he's
hiding the original zone and we should not allow this (without --force).
Note: Petr2 agreed with David's solution
LGTM, works as expected, but this patch prevents users to add
conflicting zones via webUI (there is no --force field).
We should improve webUI together with this patch.
Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code