Greetings,
I'm having a PerLDAP problem and would appreciate any related assistance
(e.g. insight, debug suggestions, etc.) you might have.
Context:
- OS: SunOS 5.8; Perl: 5.004_04; PerLDAP: 1.4(1) # built from
source
- All software installed by system administrator (not me).
- Using PerLDAP OO modules.
- A Conn object has been successfully created.
Problem:
Conn search and browse methods do not return Entry objects.
I'm confident the script syntax is all OK as I tested it from a
completely different [NT] system and it worked fine.
In the problem context
$Entry = new Mozilla:LDAP:Entry(); # SUCCESS
creates a valid $Entry. However,
$Entry = $Conn->search( $Base, $Scope, $Filter ); # FAILURE
and
$Entry = $Conn->browse( $DN ); # FAILURE
result in empty $Entry's where the parameter values referred to
existing
valid directory entries.
Similar directory searches from this same OS and PerLDAP environment are
successful using core [PerlLDAP] API's and [command line] ldapsearch.
Also, Conn object add, modify, and delete methods all worked fine.
So the problem seems to be specifically in the PerLDAP OO searches in
this specific context.
Any related assistance or debug suggestions appreciated.
Thank you.