openbsd-ports/databases/ruby-ldap/patches/patch-test_bind_rb
bernd 635020d778 Initial import of ruby-ldap-0.9.7.
Ruby/LDAP is an extension library for Ruby. It provides the interface
to some LDAP libraries (e.g. OpenLDAP, UMich LDAP, Netscape SDK,
ActiveDirectory). The common API for application development is
described in RFC1823 and is supported by Ruby/LDAP.

Submitted and maintained by Jeremy Evans <jeremyevans0 at gmail dot com>.

with help from msf@
2007-01-18 12:30:37 +00:00

13 lines
346 B
Plaintext

$OpenBSD: patch-test_bind_rb,v 1.1.1.1 2007/01/18 12:30:37 bernd Exp $
--- 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")