[Bug 381791] Re: LDAP::SSLConn from ruby fails, probably from not seeing cert

Brian Candler b.candler at pobox.com
Tue Jun 2 07:58:20 UTC 2009


> someone with a little energy could in fact get in and hack this
together anyway

Please feel free to do so:

    apt-get source libldap-ruby1.8

You might try building ruby-ldap from source separately to see if you
can get it to behave the way you want, and then see what changes are
needed to the deb to match. I notice the changelog in the deb says ssl
is supported, but maybe it hasn't been exercised for a while.

However, from a tcpdump you posted on ruby-talk, it looks that SSL *is*
being negotiated - certainly the certificate is being sent from the
server and there is a further back-and-forth communication before the
connection is dropped. This suggests to me that ssl is working fine, but
the connection is being dropped later for some other reason - maybe a
failure to verify certificate as you suggested, or maybe something else.
If you could hack the code to give a better result than just "Can't
contact LDAP server" that would be awesome. Maybe just some
fprintf(stderr, ...) entries would help pin down your specific problem.

-- 
 LDAP::SSLConn from ruby fails, probably from not seeing cert
https://bugs.launchpad.net/bugs/381791
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list