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