Univention Bugzilla – Attachment 6366 Details for
Bug 36653
univention-adsearch traceback in UCS 4.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
LDAP_CONTROL_PAGE_OID.patch
LDAP_CONTROL_PAGE_OID.patch (text/plain), 977 bytes, created by
Arvid Requate
on 2014-11-13 16:25 CET
(
hide
)
Description:
LDAP_CONTROL_PAGE_OID.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2014-11-13 16:25 CET
Size:
977 bytes
patch
obsolete
>Index: univention-adsearch >=================================================================== >--- univention-adsearch (Revision 55387) >+++ univention-adsearch (Arbeitskopie) >@@ -188,9 +188,7 @@ > lc1 = LDAPControl('1.2.840.113556.1.4.417',criticality=1) > page_size = 1000 > >-lc2 = SimplePagedResultsControl( >- ldap.LDAP_CONTROL_PAGE_OID,True,(page_size,'') >-) >+lc2 = SimplePagedResultsControl(True, page_size, '') > > filter = "" > >@@ -212,12 +210,13 @@ > pctrls = [ > c > for c in serverctrls >- if c.controlType == ldap.LDAP_CONTROL_PAGE_OID >+ if c.controlType == SimplePagedResultsControl.controlType > ] > if pctrls: >- est, cookie = pctrls[0].controlValue >+ cookie = pctrls[0].cookie > if cookie: > lc2.controlValue = (page_size, cookie) >+ lc2.cookie = cookie > if filter_attributes: > msgid = lo.search_ext(configRegistry['%s/ad/ldap/base' % CONFIGBASENAME], ldap.SCOPE_SUBTREE, filter.encode('utf8'), filter_attributes, serverctrls=[lc1,lc2]) > else:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 36653
: 6366