diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-10-03 17:29:56 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-10-03 19:50:35 +0200 |
commit | 5c06e27ff90e917393efdeb58f0f671022803d96 (patch) | |
tree | ec051ac4eab9f84db9e407aac978e4be506a1f4d | |
parent | f2e8624e767efcbf345a740b191f93a239685442 (diff) | |
download | freeipa-5c06e27ff90e917393efdeb58f0f671022803d96.tar.gz freeipa-5c06e27ff90e917393efdeb58f0f671022803d96.tar.xz freeipa-5c06e27ff90e917393efdeb58f0f671022803d96.zip |
ipatests.test_integration.host: Add logging to ldap_connect()
-rw-r--r-- | ipatests/test_integration/host.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ipatests/test_integration/host.py b/ipatests/test_integration/host.py index 7e5fca1ce..a5cced84c 100644 --- a/ipatests/test_integration/host.py +++ b/ipatests/test_integration/host.py @@ -144,9 +144,11 @@ class BaseHost(object): def ldap_connect(self): """Return an LDAPClient authenticated to this host as directory manager """ + self.log.info('Connecting to LDAP') ldap = IPAdmin(self.external_hostname) - ldap.do_simple_bind(self.config.dirman_dn, - self.config.dirman_password) + binddn = self.config.dirman_dn + self.log.info('LDAP bind as %s' % binddn) + ldap.do_simple_bind(binddn, self.config.dirman_password) return ldap def collect_log(self, filename): |