From: Graham B. <gb...@po...> - 2001-06-08 07:17:10
|
On Fri, Jun 08, 2001 at 08:11:17AM +0100, Chris Ridd wrote: > "David A. Pinkowitz" <dpi...@un...> wrote: > > At 06:33 PM 6/7/01 +0100, Graham Barr wrote: > >> Your server did not return a VLV_RESPONSE control > >> > >> It should have passed back a control which holds info about > >> where the entries returned are in the list. > > > > Is this typically a server configuration issue or would it just be that > > the server does not support these controls? Could I have done something > > wrong prior to making my search? It seems odd that the server could > > recognize the VLV control and return the correct data, but not generate > > the VLV_RESPONSE. Thanks again for all your help. > > The server is free to ignore any controls that are not marked as > 'critical'. You may want to create it this way and see what happens: A VLV control is critical by default, unless specified. So this should not make a difference. Graham. > > $vlv = Net::LDAP::Control::VLV->new( > before => 0, # No entries before target entry > after => 1, # number of entries after target entry > content => 0, #If set to 0, list size is unknown > offset => 1, # Target entry is the first > critical => 1 # Return an error if VLV is not permitted > ); > > Cheers, > > Chris |