Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: NET::LDAP (with Page control) error 83 returned from W2k search

by jlongino (Parson)
on Dec 05, 2003 at 17:29 UTC ( #312567=note: print w/ replies, xml ) Need Help??


in reply to NET::LDAP (with Page control) error 83 returned from W2k search

I found out that Net::LDAP::Control::Paged is not supported under the Sun Directory Server (formerly iPlanet Directory Server). I don't know about W2K AD, but suspect it is supported. If you don't receive a timely reply here you might try joining the perl-LDAP mail list since they specialize in the Net::LDAP modules.

You can verify whether it is supported or not by adding critical => 1 into the arguments for the Net::LDAP::Control::Paged->new statement.

Update: After looking more closely at your code, it appears you haven't used the Paged->new method or defined $page. If you'd been using "strict" and "warnings" it would have been pointed out to you. You should clean up your code and include something similar to the following before you use the $page variable:

my $page = Net::LDAP::Control::Paged->new( size => 5 );

--Jim


Comment on Re: NET::LDAP (with Page control) error 83 returned from W2k search
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://312567]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2015-07-04 07:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls