Skip to content

Commit 580e4e7

Browse files
author
blackhedd
committed
comments
1 parent a49e0bf commit 580e4e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/net/ldap.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,6 +1171,9 @@ def search args = {}
11711171
# (Because we pass zero as the sizelimit on search rounds when the remaining limit
11721172
# is larger than our max page size of 126. In these cases, I think the caller's
11731173
# search limit will be ignored!)
1174+
# CONFIRMED: This code doesn't work on LDAPs that don't support paged searches
1175+
# when the size limit is larger than 126. We're going to have to do a root-DSE record
1176+
# search and not do a paged search if the LDAP doesn't support it. Yuck.
11741177
#
11751178
rfc2696_cookie = [126, ""]
11761179
result_code = 0

0 commit comments

Comments
 (0)