summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/service.py
diff options
context:
space:
mode:
authorStanislav Laznicka <slaznick@redhat.com>2015-11-25 16:38:00 +0100
committerMartin Basti <mbasti@redhat.com>2015-12-02 17:26:56 +0100
commit498471e4aed1367b72cd74d15811d0584a6ee268 (patch)
tree93930a1d714eb7e92f6b28f1a7b9436bbf046767 /ipalib/plugins/service.py
parentbbbe411f357b7fbad533b5211a90bb0558b1abbe (diff)
downloadfreeipa-498471e4aed1367b72cd74d15811d0584a6ee268.tar.gz
freeipa-498471e4aed1367b72cd74d15811d0584a6ee268.tar.xz
freeipa-498471e4aed1367b72cd74d15811d0584a6ee268.zip
Removed duplicate domain name validating function
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipalib/plugins/service.py')
-rw-r--r--ipalib/plugins/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/service.py b/ipalib/plugins/service.py
index d63e00bea..4752e198b 100644
--- a/ipalib/plugins/service.py
+++ b/ipalib/plugins/service.py
@@ -554,7 +554,7 @@ class service_add(LDAPCreate):
# We know the host exists if we've gotten this far but we
# really want to discourage creating services for hosts that
# don't exist in DNS.
- util.validate_host_dns(self.log, hostname)
+ util.verify_host_resolvable(hostname, self.log)
if not 'managedby' in entry_attrs:
entry_attrs['managedby'] = hostresult['dn']