[Fedora-directory-users] Paged Results support?
Rich Megginson
rmeggins at redhat.com
Wed Jan 16 02:46:05 UTC 2008
Ben wrote:
> Rich Megginson wrote:
>> Ben wrote:
>>> Rich Megginson wrote:
>>>> Ben wrote:
>>>>> Rich Megginson wrote:
>>>>>> Ben wrote:
>>>>>>> Does FDS support Paged Results?
>>>>>> Fedora DS does not support the LDAPv3 Paged Results feature.
>>>>>> Fedora DS does support VLV (Virtual List View) which can be used
>>>>>> to page through many entries. This is what the console refers to
>>>>>> as a "Browsing Index".
>>>>> Thanks for the info.
>>>>>
>>>>> OK, so how would i go about using VLV in 'perl' and 'php'?
>>>> You can use Net::LDAP to create and parse the VLV controls using
>>>> the Convert::ASN1 package. Not sure about php.
>>> There is a "Net::LDAP::Control::VLV" perl module. i have not been
>>> able to get it work. Is there some preparation that needs to be
>>> done on the FDS server to allow/support it?
>> Yes. Check the documentation. Not sure where it is documented
>> though. You have to configure it then use the db_index command to
>> create the index.
>>>>> And how does that affect 'nss_ldap' with "nss_paged_results yes"
>>>>> and "pagesize 1000" set?
>>>> If the paged results control is not marked critical, fedora ds will
>>>> ignore it. So it will have no effect.
>>> I assume you mean in bugzilla?
>> ? bugzilla ?
>
> Sorry i thought you were referring to getting paged support added to
> FDS, what do you mean "If the paged results control is not marked
> critical, fedora ds will ignore it." with reference to 'nss_ldap'?
Sorry, that's LDAP-speak. Paged Results is an LDAPv3 Control that is
added to the LDAP Search Request. Controls can be marked as Critical or
not. If a control is marked as Critical, the server will return an
error if unsupported, otherwise the server will ignore it.
If you want to file a bugzilla requesting that Fedora DS should support
the Paged Results control, please do.
>
> Ben
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20080115/4bcf3da0/attachment.bin>
More information about the Fedora-directory-users
mailing list