Commits

stroeder  committed a2d0a98

Correctly set key-word argument serverctrls in subsequent calls of search_ext()

  • Participants
  • Parent commits 51ed488

Comments (0)

Files changed (1)

File Demo/paged_search_ext_s.py

               ldap.SCOPE_SUBTREE,
               search_flt,
               attrlist=searchreq_attrlist,
-              serverctrls=[req_ctrl]
+              serverctrls=(serverctrls or [])+[req_ctrl]
             )
         else:
             break