From: Graham B. <gb...@po...> - 2000-06-05 16:05:11
|
On Mon, Jun 05, 2000 at 02:19:35PM +0200, Bob Pepin wrote: > Hi, > seems someone forgot a parameter to _sendmesg in the definition of unbind(). > Makes perl throw a runtime error when calling unbind(). > > --- perl-ldap-0.16/lib/Net/LDAP.pm.orig Mon Jun 5 13:58:25 2000 > +++ perl-ldap-0.16/lib/Net/LDAP.pm Mon Jun 5 13:10:44 2000 > @@ -138,7 +138,7 @@ > controls => $arg->{control} > ) or return $mesg->set_error(LDAP_ENCODING_ERROR,"$@"); > > - $ldap->_sendmesg(); > + $ldap->_sendmesg($mesg); > } This has already bee fixed in 0.18 > We had a problem with perl-ldap a few times that it would just hang when > calling the search() method, and not send out any requests to the server > anymore, but I couldn't reproduce it yet, though I suspect that it might have > something to do with the connection to the ldap server having been open for a > few days already in each case. Have been told that the error message included > something about buffers, though I'm not sure about this. I suspect perl-ldap > could be leaking something somewhere. This was all under perl-ldap 0.13. If you could give more information, like a debug trace etc, it would be of great help. Graham. |