[PEAR-BUG] Req #17267 [Opn]: Paged Search Results

[email protected]
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at http://pear.php.net/bugs/bug.php?id=17267&edit=1

 ID:               17267
 Updated by:       [email protected]
 Reported By:      czachary at wiley dot com
 Summary:          Paged Search  Results
 Status:           Open
 Type:             Feature/Change Request
 Package:          Net_LDAP2
 Operating System: Fedora 10 Linux
 Package Version:  2.0.9
 PHP Version:      5.3.1
 Roadmap Versions: 
 New Comment:

https://bugs.php.net/bug.php?id=42060

Finally, with PHP 5.3 there is a paged search control available that
could be implemented in Net_LDAP2.
Currently i'm figuring out a good way to do this.


Previous Comments:
------------------------------------------------------------------------

[2010-03-26 10:00:31] beni

Hello!
PEAR Net_LDAP2 layers itself above phps ldap extension. This extension
does not export an paging mechanism, as far as i know.
The paged search control is a control that is usually set at the search
request, but php's ldap_search() function lacks an ability to provide
such controls, so im not sure wheter paged searches are suiported by
PHPs ldap-module.

Paged searches may be activated by providing general controls, please
see:
http://de.php.net/manual/de/function.ldap-set-option.php
The control for paged searches should be '1.2.840.113556.1.4.319'.

Unfortunately i did not had the time to experiment with controls - maybe
you like to assist?

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

[2010-03-25 18:49:26] czachary

Description:
------------
IS it possible to have a feature to page the searched results.  This
exists in the Perl implementation of Net::LDAP, but I don't see it for
PHP.

Here are the links to the Perl Net::LDAP paging feature.

http://search.cpan.org/~gbarr/perl-ldap-0.4001/lib/Net/LDAP/Control/Paged.pm

http://search.cpan.org/~gbarr/perl-ldap-0.4001/lib/Net/LDAP/Control/VLV.pm

Thanks

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


-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17267&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.