openbsd-ports/databases/ruby-ldap/patches/patch-test_misc2_rb

12 lines
399 B
Plaintext
Raw Normal View History

$OpenBSD: patch-test_misc2_rb,v 1.1.1.1 2007/01/18 12:30:37 bernd Exp $
--- test/misc2.rb.orig Wed Dec 20 13:38:26 2006
+++ test/misc2.rb Wed Dec 20 13:38:36 2006
@@ -29,6 +29,7 @@ def delete_ou(agency)
end
@ldap_conn = LDAP::Conn.new($HOST, $PORT)
+@ldap_conn.set_option(LDAP::LDAP_OPT_PROTOCOL_VERSION, 3)
@ldap_conn.bind("cn=root, dc=localhost, dc=localdomain", 'secret')
p LDAP::VERSION