Closed gordanyang closed 6 years ago
I have this same error on >= 0.10.5
. I was upgrading from 0.9.2
which worked fine with LDAP.
< 0.10.5
also has an issue with AssertionError: Should return text, got bytes instead ('CN=redacted,OU=users,OU=groups_users,DC=int,DC=example,DC=com')
Hmm. We are on pyldap
2.4.28 and the most recent version is 2.4.37. That object constructor seems to have changed (bytes_mode
drops off, which presumably has something to do with @sherzberg's second issue). Suggest bumping the version @JeanFred @frankh and seeing if that fixes?
I've pushed a new docker image: cabotapp/cabot:0.11.8 with updated ldap libraries.
Please try it and let us know if it works.
Thanks for the quick response!
Upgrading to 0.11.8 fixes my ldap issue! I no longer get either of the above exceptions.
I am seeing this same problem as well. It's fundamentally a python ldap library issue.
Please re-open if this isn't working for on v0.11.8+