in reply to explicit disconnect in Net::LDAP

If you find no answers here, or on the Perl LDAP project page, there is also a mailing list:

perl-ldap-dev@lists.sourceforge.net (archives/subscriptions)

Matt

Replies are listed 'Best First'.
Re: Re: explicit disconnect in Net::LDAP
by amphiplex (Monk) on Nov 12, 2002 at 11:49 UTC
    Thank you, but I couldn't really find anything there either.
    Fortunately, a friend of mine looked into the code and found an undocumented method socket() which returns the socket used.

    So in case someone else has got troubles with buggy LDAP servers:
    my $ldap = Net::LDAP->new(...) .... $ldap->unbind() my $socket = $ldap->socket(); close $socket if $socket;

    ---- amphiplex