Displaying 1 result from an estimated 1 matches for "myldapserverip".
Did you mean:
myldapserver
2007 Dec 11
0
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_ope...