On 21/1/06 4:15, René Pfeiffer <[EMAIL PROTECTED]> wrote: > Hello, Peter! > > On Jan 20, 2006 at 1257 +0100, Peter Marschall appeared and said: >> [...] >>> The system the script is running on is a Debian Sarge 3.1r1 with the >>> latest upgrades. The OpenLDAP server is compiled from source. >> >> The code snippet above looks correct with only one omission: >> you do not test if the Net::LDAP::Filter object was correctly created. > > That's something I forgot, because I didn't expect the filter > preparation to create an error. I will fix that in the scripts. > >> Unfortunately you do not tell what version of perl-ldap you use and what kind >> of data triggers the error. >> I.e. what are the exact values for $base and $username, what is it that the >> server returns. > > Yes, you are right, I forgot that also. I did a grep in > /usr/share/perl5/Net/LDAP/ showing the following version strings:
Actually, the version of LDAP.pm itself would be good, and the exact perl version. There used to be some problems with perl mangling the encoded bytes (thinking they were UTF-8 or something) and since Debian has a reputation for being "old" :-) but stable... Cheers, Chris
