google-code-export / ruby-activeldap

Automatically exported from code.google.com/p/ruby-activeldap
Other
1 stars 1 forks source link

Ruby-LDAP controls missing for #search_ext and #search_ext2 #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Query the directory using either #search_ext or #search_ext2 with a
server control (e.g., the paged results control)
2. Fetch the results, and try to fetch the controls coming back from the
server for the estimated count and pager cookie

What is the expected output? What do you see instead?

I expected the #controls method to return the server control for paged
results. It was empty.

What version of the product are you using? On what operating system?

I'm using the 0.9.9 gem on MacOS X 10.5 and 10.6, FreeBSD 6.x, 7.x, and
8.x, and Ubuntu Linux.

Please provide any additional information below.

I'm not sure if this is the right place to file a bug report, but since
this is where the download and repository are, I though this would be the
best place to try. I'd be happy to move it elsewhere if there's somewhere
more appropriate.

I've attached a patch that fixes this issue (ruby-ldap-248.patch) and a
patch to the paged-result example (example/pr_ctl) that demonstrates the
problem.

Original issue reported on code.google.com by rubym...@gmail.com on 11 Dec 2009 at 4:50

Attachments:

GoogleCodeExporter commented 9 years ago
Hi rubymage!

Thanks for the patch. I had pushed it in Git: 
http://github.com/alexey-chebotar/ruby-
ldap/commit/5d7c49b36ae9bec7a45c530f42258cb1ac2cf367

P.S. I hope that Michael Granger it is you. (please let me know if it is not)

Original comment by Alexey.Chebotar@gmail.com on 19 Dec 2009 at 12:36

GoogleCodeExporter commented 9 years ago
Yes, that's me. Thanks!

Original comment by rubym...@gmail.com on 10 Jan 2010 at 5:19

GoogleCodeExporter commented 9 years ago
Any thoughts on when you might release a new version that includes this patch? 
I ask
only because a few new features of a library of mine depend on it (Treequel,
http://deveiate.org/projects/Treequel) and I was wondering if I should put off
releasing for a while, or release without the dependent features.

Thanks!

Original comment by rubym...@gmail.com on 25 Jan 2010 at 11:23