From 142a1ee40666a08006ac084eb182908d8def94af Mon Sep 17 00:00:00 2001
From: Martin Basti <mbasti@redhat.com>
Date: Fri, 24 Oct 2014 12:15:17 +0200
Subject: [PATCH] Fix dns zonemgr validation regression
https://fedorahosted.org/freeipa/ticket/4663
Reviewed-By: David Kupka <dkupka@redhat.com>
---
ipalib/util.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/ipalib/util.py b/ipalib/util.py
index fcb2bab96bcf5669de444846d8dea572eefce793..7a283106d70ba6a3e25cc7129d57b44b80876882 100644
--- a/ipalib/util.py
+++ b/ipalib/util.py
@@ -277,6 +277,7 @@ def validate_zonemgr(zonemgr):
def validate_zonemgr_str(zonemgr):
zonemgr = normalize_zonemgr(zonemgr)
+ zonemgr = DNSName(zonemgr)
return validate_zonemgr(zonemgr)
def validate_hostname(hostname, check_fqdn=True, allow_underscore=False, allow_slash=False):
--
2.1.0