Control::VLV error

"Dieter Kluenter" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Message-ID <[email protected]>
Hi,
my ldap server is OpenLDAP-2.4.18 with sssvlv overlay configured.
Running my perl script, which is in principle based on
Net::LDAP::Control::VLV, I get following errors:

slapd:
> get_ctrls: oid="2.16.840.1.113730.3.4.9" (critical)
<= get_ctrls: n=2 rc=2 err="vlv control value is absent"
send_ldap_result: conn=0 op=2 p=3

perl:
Errorcode: 2
Fehlertext: Unrecognized version number or incorrect PDU structure
Can't call method "context" on an undefined value at
/usr/lib/perl5/site_perl/5.10.0/Net/LDAP/Control/VLV.pm line 106,
<DATA> line 891.

It seems that the content of my vlv object, except for criticallity,
is not passed to the server.

,----[ vlv sss object ]
| $vlv  = Net::LDAP::Control::VLV->new(
|         before  => 0, 
|         after   => 19,
|         content => 0,
|         offset  => 1,
| 	critical => 'TRUE'
|       );
| my $sort = Net::LDAP::Control::Sort->new( order => 'cn:2.5.13.3',
| 					   critical => 'TRUE');
`----

-Dieter

-- 
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:8EF7B6C6
53°37'09,95"N
10°08'02,42"E
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.