Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #3 from dulanov/master

Incorrect response with return_result=false in Net::LDAP.search
  • Loading branch information...
commit 7dd6c3a10782f307ccd8b6cedcbd5301cce33d45 2 parents 028cdee + c9bd8b4
@RoryO RoryO authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/net/ldap.rb
View
2  lib/net/ldap.rb
@@ -642,7 +642,7 @@ def search(args = {})
end
end
- @result == 0 and result_set
+ result_set || @result == 0
end
# #bind connects to an LDAP server and requests authentication based on
Please sign in to comment.
Something went wrong with that request. Please try again.