RE: ldap.ENCODING_ERROR when trying to use SimplePageResultsControl
Hi Michael, Comments inline: > Michael Ströder wrote: > Joel Heenan wrote: > > > File "/usr/lib64/python2.4/site-packages/ldap/controls.py", line > 78, > > in encodeControlValue > > > > return _ldap.encode_page_control(size,cookie) > > &g
ldap.ENCODING_ERROR when trying to use SimplePageResultsControl
ie: lc.controlValue = (page_size,cookie) msgid = l.search_ext(base, ldap.SCOPE_SUBTREE, 'objectclass=user', serverctrls=[lc]) else: break else: print "Warning: Server ignores RFC 2696 control&q