[ net-ldap-Feature Requests-23469 ] Ability to control paging

41 views
Skip to first unread message

nor...@rubyforge.org

unread,
Jul 12, 2011, 12:28:45 PM7/12/11
to nor...@rubyforge.org
Feature Requests item #23469, was opened at 2009-01-06 08:41
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=634&aid=23469&group_id=143

Category: None
Group: None
>Status: Closed
Priority: 3
Submitted By: James Hewitt (jamstah)
Assigned to: Nobody (None)
Summary: Ability to control paging

Initial Comment:
I would like to be able to not send the paging control, because it can cause access errors on some servers.

It would be good to be able to specify a paging size, to work with tricky servers.

It would be great to be able to control the use of paging:
LDAP.open do |ldap|
cookie = ldap.search( { paging: 10, options... } ) do |entry|
handle entries...
end

ldap.search( cookie ) do |entry|
handle next 10...
end

ldap.cancel( cookie )
end

But that might be best as another feature request, and a different function name (paged_search), and probably with exception raising for the server returning a non-zero response.

----------------------------------------------------------------------

>Comment By: Austin Ziegler (austin)
Date: 2011-07-12 12:28

Message:
Moved to GitHub issues: https://github.com/ruby-ldap/ruby-net-ldap/issues/12

----------------------------------------------------------------------

Comment By: Austin Ziegler (austin)
Date: 2010-09-25 00:04

Message:
We will investigate doing this for the 1.0 release.

----------------------------------------------------------------------

You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=634&aid=23469&group_id=143

Reply all
Reply to author
Forward
0 new messages