openbsd-ports/databases/ruby-ldap/patches/patch-test_add_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

12 lines
408 B
Plaintext

$OpenBSD: patch-test_add_rb,v 1.1.1.1 2007/01/18 12:30:37 bernd Exp $
--- test/add.rb.orig Wed Dec 20 13:18:24 2006
+++ test/add.rb Wed Dec 20 13:29:39 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")
entry1 = [