Net::LDAP::Connection supports a hash under the :encryption key in the options hash. The hash may have two keys, :method and :tls_options just a single symbol value (:simple_tls or :start_tls).
This would then allow you to add options like the following to your ldap.yml:
Net::LDAP::Connection supports a hash under the
:encryption
key in the options hash. The hash may have two keys,:method
and:tls_options
just a single symbol value (:simple_tls
or:start_tls
).This would then allow you to add options like the following to your ldap.yml: