ports/databases/ruby-ldap/patches/patch-test_bind_rb

12 lines
275 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- test/bind.rb.orig Wed Dec 20 13:16:25 2006
+++ test/bind.rb Wed Dec 20 13:17:27 2006
@@ -28,6 +28,8 @@ begin
conn.bind
rescue LDAP::InvalidDataError
$ok = true
+rescue LDAP::ResultError
+ $ok = true
end
if( ! $ok )
raise(RuntimeError, "multiple bind calls")