In the immortal words of Hirmke Michael:

> 
> probably I'm doing something wrong, but I am not able to connect to an
> LDAPS server more than one time in a script on a Linux machine.
> The first connect succeeds as expected, after having done some work I
> disconnect from the server ($oLDAP->disconnect and/or $oLDAP->unbind)
> and undef( $oLDAP ). After that I am not able to connect again - neither
> to the same server nor to a different one.
> I read that one can have only one LDAPS connection at a time, but how can
> I have more than one connection after having diconnected the previous one
> in a script. Using Net::LDAP on port 389 I can connect as often as
> necessary.
> Perl version is 5.8.5, Net::LDAP version is 0.3301.
> 
> Because everthing works perfectly on my Windows machine with Perl 5.8.8
> I suspect there might be some module in 5.8.5, which causes the problem
> - but which module? Any hint?

Check your versions of Net::SSLeay and IO::Socket::SSL.  I think newer 
versions of one of those modules handles multiple connections better.

%%  Christopher A. Bongaarts  %%  [EMAIL PROTECTED]       %%
%%  Internet Services         %%  http://umn.edu/~cab  %%
%%  University of Minnesota   %%  +1 (612) 625-1809    %%

Reply via email to