Re: messageID is undefined when using unbind()
John Devitofranceschi <[email protected]> Mon, 19 Nov 2012 11:27:29 -0500
| Newsgroups | gmane.comp.lang.perl.modules.ldap |
|---|---|
| Message-ID | <[email protected]> |
This patch works for us as we'll. Many thanks! jd On Nov 17, 2012, at 14:48, Peter Marschall <[email protected]> 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/LDAP/Message.pm line 195. >> >> This happens with perl-ldap 0.49. >> >> It did not happen with 0.44. >> >> Is this a known behavior? > > thanks for the report. > > I consider it a regression against 0.44's behaviour, and I think I have a fix > for it. > > Would you mind to try the patch from my github repository of perl-ldap at > https://github.com/marschap/perl- > ldap/commit/c98beceee975166b9db97a8c97e20281490e491a > > In my (short & preliminary) tests the patch fixed the issue. > > Please report whether it does the trick for you too. > > Best > Peter > > -- > Peter Marschall > [email protected]