-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Description
With bytes_mode=True
, all arguments must be bytes. However some functions have default keyword arguments of type str (unicode). One example is search_ext(..., filterstr='(objectClass=*), ...')
.
function signature
-
simple_bind(self,who='',cred='',serverctrls=None,clientctrls=None)
-
simple_bind_s(self,who='',cred='',serverctrls=None,clientctrls=None)
-
search_ext(self,base,scope,filterstr='(objectClass=*)', ...)
-
search_ext_s(self,base,scope,filterstr='(objectClass=*)', ...)
-
search(self,base,scope,filterstr='(objectClass=*)', ...)
-
search_s(self,base,scope,filterstr='(objectClass=*)', ...)
-
search_st(self,base,scope,filterstr='(objectClass=*)', ...)
-
search_subschemasubentry_s(self,dn='')
-
find_unique_entry(self,base,scope=ldap.SCOPE_SUBTREE,filterstr='(objectClass=*)', ...)
-
read_rootdse_s(self, filterstr='(objectClass=*)', attrlist=None)
function body
-
search_subschemasubentry_s
-
read_subschemasubentry_s
-
find_unique_entry
-
read_rootdse_s
-
get_naming_contexts
-
ReconnectLDAPObject._apply_last_bind
After fixing this
- Remove
filterstr
workaround inTests/t_ldap_syncrepl.py
Metadata
Metadata
Assignees
Labels
No labels