diff options
Diffstat (limited to 'ipaserver/install/bindinstance.py')
-rw-r--r-- | ipaserver/install/bindinstance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py index cdf7b939..f9bd3a84 100644 --- a/ipaserver/install/bindinstance.py +++ b/ipaserver/install/bindinstance.py @@ -96,7 +96,7 @@ def dns_container_exists(fqdn, suffix): return True try: - server = ldap.initialize("ldap://" + fqdn) + server = ldap.initialize("ldap://" + ipautil.format_netloc(fqdn)) server.simple_bind_s() except ldap.SERVER_DOWN: raise RuntimeError('LDAP server on %s is not responding. Is IPA installed?' % fqdn) |