left out some encryption calls.
This commit is contained in:
parent
e89a9a4d72
commit
69158b7b16
|
@ -634,7 +634,7 @@ module Net
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@result = 0
|
@result = 0
|
||||||
conn = Connection.new( :host => @host, :port => @port )
|
conn = Connection.new( :host => @host, :port => @port, :encryption => @encryption )
|
||||||
if (@result = conn.bind( args[:auth] || @auth )) == 0
|
if (@result = conn.bind( args[:auth] || @auth )) == 0
|
||||||
@result = conn.search( args ) {|entry|
|
@result = conn.search( args ) {|entry|
|
||||||
result_set << entry if result_set
|
result_set << entry if result_set
|
||||||
|
@ -696,7 +696,7 @@ module Net
|
||||||
if @open_connection
|
if @open_connection
|
||||||
@result = @open_connection.bind @auth
|
@result = @open_connection.bind @auth
|
||||||
else
|
else
|
||||||
conn = Connection.new( :host => @host, :port => @port )
|
conn = Connection.new( :host => @host, :port => @port , :encryption => @encryption)
|
||||||
@result = conn.bind @auth
|
@result = conn.bind @auth
|
||||||
conn.close
|
conn.close
|
||||||
end
|
end
|
||||||
|
@ -747,7 +747,7 @@ module Net
|
||||||
@result = @open_connection.add( args )
|
@result = @open_connection.add( args )
|
||||||
else
|
else
|
||||||
@result = 0
|
@result = 0
|
||||||
conn = Connection.new( :host => @host, :port => @port )
|
conn = Connection.new( :host => @host, :port => @port, :encryption => @encryption)
|
||||||
if (@result = conn.bind( args[:auth] || @auth )) == 0
|
if (@result = conn.bind( args[:auth] || @auth )) == 0
|
||||||
@result = conn.add( args )
|
@result = conn.add( args )
|
||||||
end
|
end
|
||||||
|
@ -831,7 +831,7 @@ module Net
|
||||||
@result = @open_connection.modify( args )
|
@result = @open_connection.modify( args )
|
||||||
else
|
else
|
||||||
@result = 0
|
@result = 0
|
||||||
conn = Connection.new( :host => @host, :port => @port )
|
conn = Connection.new( :host => @host, :port => @port, :encryption => @encryption )
|
||||||
if (@result = conn.bind( args[:auth] || @auth )) == 0
|
if (@result = conn.bind( args[:auth] || @auth )) == 0
|
||||||
@result = conn.modify( args )
|
@result = conn.modify( args )
|
||||||
end
|
end
|
||||||
|
@ -903,7 +903,7 @@ module Net
|
||||||
@result = @open_connection.rename( args )
|
@result = @open_connection.rename( args )
|
||||||
else
|
else
|
||||||
@result = 0
|
@result = 0
|
||||||
conn = Connection.new( :host => @host, :port => @port )
|
conn = Connection.new( :host => @host, :port => @port, :encryption => @encryption )
|
||||||
if (@result = conn.bind( args[:auth] || @auth )) == 0
|
if (@result = conn.bind( args[:auth] || @auth )) == 0
|
||||||
@result = conn.rename( args )
|
@result = conn.rename( args )
|
||||||
end
|
end
|
||||||
|
@ -933,7 +933,7 @@ module Net
|
||||||
@result = @open_connection.delete( args )
|
@result = @open_connection.delete( args )
|
||||||
else
|
else
|
||||||
@result = 0
|
@result = 0
|
||||||
conn = Connection.new( :host => @host, :port => @port )
|
conn = Connection.new( :host => @host, :port => @port, :encryption => @encryption )
|
||||||
if (@result = conn.bind( args[:auth] || @auth )) == 0
|
if (@result = conn.bind( args[:auth] || @auth )) == 0
|
||||||
@result = conn.delete( args )
|
@result = conn.delete( args )
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue