Module: Net::LDAP::Connection::ConnectionSaslIO

Defined in:
lib/rex/proto/ldap.rb

Instance Method Summary collapse

Instance Method Details

#wrap_read_write(wrap_read, wrap_write) ⇒ Object

Provide the encryption wrapper for the caller to set up



174
175
176
177
# File 'lib/rex/proto/ldap.rb', line 174

def wrap_read_write(wrap_read, wrap_write)
  @conn.extend(SocketSaslIO)
  @conn.setup(wrap_read, wrap_write)
end