From: Chris R. <chr...@me...> - 2000-12-13 12:12:24
|
Chris Ridd <chr...@me...> wrote: > Jan Gruber <Jan...@po...> wrote: >> Hi, >> >> I'm using a Netscape Directory Server and perl-ldap-0.22/Convert::ASN1 >> >> Is there any special preparation for substring filters ? >> >> If i submit a (uid=*234*) subtree search at the Netscape Console, it >> works as expected. The same filter submitted via perl-ldap does not >> return anything :( I tried it with \* and *, the result didn't change. >> Even digging with perl -d didnt help. >> >> The LDAP::Filter manpage shows special characters for *, so the encoding >> should work for that asterisk. >> >> Any hint would be appreciated, >> TIA > > Create the Net::LDAP object with debug set to 12 and repeat your test. > This will dump out the protocol that Net::LDAP is sending to the server > (and back), and it may reveal that something's going wrong at this point. Also are you setting your search base and scope correctly in Net::LDAP, and are you authenticated appropriately? Cheers, Chris |