[Freeipa-devel] [freeipa PR#145][comment] Refactoring: LDAP Connection Management

mbasti-rh freeipa-github-notification at redhat.com
Fri Nov 4 19:00:29 UTC 2016


  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


More information about the Freeipa-devel mailing list