Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117513246
D895.1774851725.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
780 B
Referenced Files
None
Subscribers
None
D895.1774851725.diff
View Options
diff --git a/pykolab/auth/ldap/__init__.py b/pykolab/auth/ldap/__init__.py
--- a/pykolab/auth/ldap/__init__.py
+++ b/pykolab/auth/ldap/__init__.py
@@ -2896,7 +2896,7 @@
page_size = 500
_results = []
- server_page_control = ldap.controls.libldap.SimplePagedResultsControl(size=page_size)
+ server_page_control = ldap.controls.libldap.SimplePagedResultsControl(size=page_size,cookie='')
_search = self.ldap.search_ext(
base_dn,
@@ -2937,7 +2937,7 @@
pctrls = [
c for c in _result_controls
- if c.controlType == LDAP_CONTROL_PAGED_RESULTS
+ if c.controlType == ldap.controls.libldap.SimplePagedResultsControl.controlType
]
if pctrls:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 30, 6:22 AM (3 d, 11 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18775236
Default Alt Text
D895.1774851725.diff (780 B)
Attached To
Mode
D895: encode_page_control() must have a 2nd argument T5734
Attached
Detach File
Event Timeline