------art_37779_18757965.1189098657889
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I'm trying to make an Net::LDAP connection over SSL to Active Directory so
that I can change/set account passwords.  I was originally using adsi via
Win32OLE but that is unbearably slow.  When I try to connect on port 636
with encryption set to :simple_tls

This is what happens:

OpenSSL::SSL::SSLError:
    from C:/ruby/lib/ruby/gems/1.8/gems/ruby-net-ldap-0.0.4/lib/net/ldap.rb:1059:in
'connect'
    from C:/ruby/lib/ruby/gems/1.8/gems/ruby-net-ldap-0.0.4/lib/net/ldap.rb:1059:in
'setup_encryption'
    from C:/ruby/lib/ruby/gems/1.8/gems/ruby-net-ldap-0.0.4/lib/net/ldap.rb:1025:in
'initialize'
    from C:/ruby/lib/ruby/gems/1.8/gems/ruby-net-ldap-0.0.4/lib/net/ldap.rb:700:in
'new'
    from C:/ruby/lib/ruby/gems/1.8/gems/ruby-net-ldap-0.0.4/lib/net/ldap.rb:700:in
'bind'

It would appear to be a problem with OpenSSL.  This is running on Windows
(no choice there), I have OpenSSL installed on the machine but beyond that
I'm not sure what's going on.

-- 
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can't hear a word you're saying."

-Greg Graffin (Bad Religion)

------art_37779_18757965.1189098657889--