diff options
author | Stanislav Laznicka <slaznick@redhat.com> | 2015-11-25 16:38:00 +0100 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2015-12-02 17:26:56 +0100 |
commit | 498471e4aed1367b72cd74d15811d0584a6ee268 (patch) | |
tree | 93930a1d714eb7e92f6b28f1a7b9436bbf046767 /ipalib/plugins/host.py | |
parent | bbbe411f357b7fbad533b5211a90bb0558b1abbe (diff) | |
download | freeipa-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/host.py')
-rw-r--r-- | ipalib/plugins/host.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py index bceab314b..fa867f370 100644 --- a/ipalib/plugins/host.py +++ b/ipalib/plugins/host.py @@ -625,7 +625,7 @@ class host_add(LDAPCreate): check_forward=True, check_reverse=check_reverse) if not options.get('force', False) and not 'ip_address' in options: - util.validate_host_dns(self.log, keys[-1]) + util.verify_host_resolvable(keys[-1], self.log) if 'locality' in entry_attrs: entry_attrs['l'] = entry_attrs['locality'] entry_attrs['cn'] = keys[-1] |