Chris Ridd schrieb: > On 29/6/06 12:25, Matthias Utke <[EMAIL PROTECTED]> wrote: > > >> Dear Net::Ldap list >> >> i'm using freebsd 6.1 with p5-IO-Socket-SSL-0.96 with a little perl program >> to >> connect to my ldap server. but while upgrading from 0.96 to 0.97 it does not >> connect any more. i do not get an error message on the console with my sub: >> >> sub ldapconnect { >> $ldap = Net::LDAP->new($config->get("ldapurl")) or croak "Error: $!,[EMAIL >> PROTECTED]"; >> my $sasl = Authen::SASL->new("GSSAPI"); >> my $bind = $ldap->bind("", >> sasl => $sasl, >> version => 3, >> async => 1, >> ); >> if ( $bind->is_error ) { croak "Error: ",$bind->error,"\n" } >> } >> >> >> i don't know where the error comes from and really need a hint now. >> > > There's no SSL stuff in your snippet, so I can't see how a purely > SSL-related port would break it. Does that port update any SASL stuff too? > > Cheers, > > Chris from pkg-descr: IO::Socket::SSL is a class implementing an object oriented interface to SSL sockets. The class is a descendent of IO::Socket::INET and provides a subset of the base class's interface methods.
http://search.cpan.org/~behroozi/IO-Socket-SSL-0.97/ it says there that "This version has been tested with Net::SSLeay 1.25 and 1.26, OpenSSL 0.9.7d and 0.9.7g, and Perl versions 5.8.5 and 5.8.7." i am using Net::SSLeay 1.30, Perl 5.8.8, OpenSSL 0.9.7d. oh and $config->get("ldapurl") = "ldaps://myserver". cheers, matthias