URL: https://github.com/freeipa/freeipa/pull/145
Title: #145: Refactoring: LDAP Connection Management
mbasti-rh commented:
"""
INFO related to LDAPError:
```
-> desc = e.args[0]['desc'].strip()
(Pdb) print e
LDAPError(2, 'No such file or directory')
(Pdb) print self.ldap_uri
'master.ipa.test'
```
Probaly we should open ticket and improve LDAP error handling to cover this
issue
error is in test_integration/host.py:ldap_connect
```
ldap_uri = ipaldap.LDAPClient(self.external_hostname)
ldap = ipaldap.LDAPClient(ldap_uri) <-------- you created ldap_uri as
LDAPClient object
```
"""
See the full comment at
https://github.com/freeipa/freeipa/pull/145#issuecomment-258519796
--
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code