$OpenBSD: patch-test_ext_rb,v 1.1.1.1 2007/01/18 12:30:37 bernd Exp $
--- test/ext.rb.orig	Wed Dec 20 13:37:36 2006
+++ test/ext.rb	Wed Dec 20 13:37:42 2006
@@ -6,6 +6,7 @@ require "#{$test}/conf"
 require "./ldap"
 
 conn = LDAP::Conn.new($HOST, $PORT)
+conn.set_option(LDAP::LDAP_OPT_PROTOCOL_VERSION, 3)
 conn.bind('cn=root, dc=localhost, dc=localdomain','secret'){
   conn.perror("bind")
   begin
