Net::ldap no bind result

Hi,
im having some trouble using net::ldap. bind doesnt return anything (not
even false)

i basically use this code:

user,psw = ‘test’, ‘test’
ldap = Net::LDAP.new(:host => ‘myldapserverip’, :port => 636, :base
=>‘dc=ehb,dc=be’, :auth => {:method => :simple, :username => user,
:password => psw)
if (ldap.bind) then
“Authorization Succeeded! #{ldap.get_operation_result.message}”
else
“Authorization Failed: #{ldap.get_operation_result.message}”
end

The connection to the server is alright (no ‘no connection to server’
error)
The ldap server is using ldaps, would that be the problem ?