Re: messageID is undefined when using unbind()

2012-11-19 Thread John Devitofranceschi
This patch works for us as we'll. Many thanks! jd On Nov 17, 2012, at 14:48, Peter Marschall wrote: > Hi, > > On Thursday, 15. November 2012, John Devitofranceschi wrote: >> [...] >> $ldap->unbind(); >> >> Makes my script generate this: >> >> messageID is undefined at /usr/lib/cpan/Net/LDA

Re: messageID is undefined when using unbind()

2012-11-17 Thread Peter Marschall
Hi, On Thursday, 15. November 2012, John Devitofranceschi wrote: > [...] > $ldap->unbind(); > > Makes my script generate this: > > messageID is undefined at /usr/lib/cpan/Net/LDAP/Message.pm line 195. > > This happens with perl-ldap 0.49. > > It did not happen with 0.44. > > Is this a known b

messageID is undefined when using unbind()

2012-11-15 Thread John Devitofranceschi
When I bind like this: $ldap = Net::LDAP->new( $dshost , onerror => 'warn' ); $ldap->bind( $dn, password => $password ); Unbinding like this: $ldap->unbind(); Makes my script generate this: messageID is undefined at /usr/lib/cpan/Net/LDAP/Message.pm line 195. This happens with perl-ldap 0.49.