test_integration: Log external hostname in Host.ldap_connect

This may make debugging easier if the address is set incorrectly.
This commit is contained in:
Petr Viktorin 2013-11-21 13:57:47 +01:00 committed by Martin Kosek
parent 98f4c22267
commit a9a7976ca8

View File

@ -160,7 +160,7 @@ class BaseHost(object):
def ldap_connect(self):
"""Return an LDAPClient authenticated to this host as directory manager
"""
self.log.info('Connecting to LDAP')
self.log.info('Connecting to LDAP at %s', self.external_hostname)
ldap = IPAdmin(self.external_hostname)
binddn = self.config.dirman_dn
self.log.info('LDAP bind as %s' % binddn)