[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Virtual list view problem
- To: Venish Khant <venish@deeproot.co.in>
- Subject: Re: Virtual list view problem
- From: Gavin Henry <ghenry@OpenLDAP.org>
- Date: Tue, 31 May 2016 20:26:47 +0100
- Cc: Michael Ströder <michael@stroeder.com>, openldap-technical@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suretec-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-transfer-encoding; bh=9lEFCTQvenTsBBkOMU3P9jfbVlXDoRZYMfLtuwUYDv0=; b=0R2qKNQiuFx1ql4RstodFbG8Y9P81EUB98nbvlfv0xmlUHIAOzRF8oHXfWUR/NAy+s ri6SiOjr/uUL90cO4ih0SCjQsde6TPLr12S64QAPk0/KPM4Fsgl/sDgB0zajUKqn/4mZ WcCsDdLm2ZwxtBWRDlhYwQ4zRO/5yACzbx0VHvDGaw8LwbrCiO8QW7M/fcI2NZ2sjIhO 9FkQxETE6lDLWFh/QBtuO8HHFAM1Wz0IjN21i3X8c5Bh5S8jeAg4yc6Qs2i6qLjoe2pz dTf9EWtc9yQBD9SGAIwo66umO/U7mgCge2PLkATi9jmQ8YS6y3wUce+FhJVnoZfF2RL6 DUiQ==
- In-reply-to: <4AA64E7A.7030309@deeproot.co.in>
- References: <4AA5FE2E.2070705@deeproot.co.in> <87pra1nb0g.fsf@rubin.avci.de> <4AA60CFC.9050104@deeproot.co.in> <4AA61355.4020102@deeproot.co.in> <87hbvdn3hz.fsf@rubin.avci.de> <4AA63502.9050402@deeproot.co.in> <4AA63828.40708@stroeder.com> <4AA63D26.2060808@deeproot.co.in> <4AA64CAC.2080505@stroeder.com> <4AA64E7A.7030309@deeproot.co.in>
On 8 September 2009 at 13:30, Venish Khant <venish@deeproot.co.in> wrote:
> Michael Ströder wrote:
>>
>> Venish Khant wrote:
>>
>>>
>>> You have any idea about how to
>>> upgrade openldap.
>>> Because, my openldap version 2.4.15 so, I want upgrade.
>>>
>>
>>
Old one, but I'm just using this code too:
http://search.cpan.org/dist/perl-ldap-0.55/lib/Net/LDAP/Control/VLV.pm
even with the overlay loaded, the error is no match type set:
use Net::LDAP;
use Net::LDAP::Control::VLV;
use Net::LDAP::Constant qw( LDAP_CONTROL_VLVRESPONSE );
$ldap = Net::LDAP->new( "ldap.mydomain.eg" );
# Get the first 20 entries
$vlv = Net::LDAP::Control::VLV->new(
before => 0, # No entries from before target entry
after => 19, # 19 entries after target entry
content => 0, # List size unknown
offset => 1, # Target entry is the first
);
$sort = Net::LDAP::Control::Sort->new( order => 'cn' );
should be:
my $sort = Net::LDAP::Control::Sort->new( order => 'sn:caseIgnoreIA5Match' );
The ldapsearch syntax would be something like:
/opt/symas/bin/ldapsearch -x -b dc=suretec,dc=co,dc=uk -D
uid=xxx,ou=users,dc=suretec,dc=co,dc=uk -E
\!sss=mail:caseIgnoreIA5Match -E \!vlv=0/10/0/10 -W
I'll also note we don't have this overlay in the overlay section of
the OpenLDAP Admin Guide.
Thanks,
Gavin.