Net::ldap no bind result

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

i basically use this code:

user,psw = ‘test’, ‘test’
ldap = => ‘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}”
“Authorization Failed: #{ldap.get_operation_result.message}”

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs