You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make initialize() pass extra keyword arguments to LDAPObject
Fixes: #249
For docs, use signatures and doc from the code (and docstrings) using Sphinx
autodoc.
#250
ldap.initialize() is documented as having a bytes_strictness parameter as seen here: http://www.python-ldap.org/en/latest/reference/ldap.html#ldap.initialize.
It needs to be added to the parameter list here:
python-ldap/Lib/ldap/functions.py
Line 68 in ec41070
also the docstring, and finally in the call to LDAPObject().
The LDAPObject (SimpleLDAPObject in ldapobject.py) already supports the bytes_strictness parameter.
As an initial work-around one can do this:
bytes_strictness defaults to 'error' thus defeating the automatic type conversion described here: http://www.python-ldap.org/en/latest/bytes_mode.html#bytes-mode
The text was updated successfully, but these errors were encountered: