Closed jpdasma closed 1 year ago
@HarlemSquirrel it appears that I introduced a bug in the SNI PR. This should fix the issue when using the hosts
argument.
Thanks!
I only did some testing here and it worked when using single host and port, and also with hosts
.
I'm not sure if this will affect prepare_socket
here: https://github.com/ruby-ldap/ruby-net-ldap/blob/84bfc385cfad73c3e24ee36b014f2e81dc10ea81/lib/net/ldap/connection.rb#L707
@HarlemSquirrel I've just hit this too. Would you be able to push out a new release with this fix?
Thanks
@alexjfisher done https://github.com/ruby-ldap/ruby-net-ldap/releases/tag/v0.19.0
There was a bug introduced by https://github.com/ruby-ldap/ruby-net-ldap/pull/406
When using multiple hosts, it will cause the following error:
This is because
hostname
is being set to127.0.0.1
when usinghosts
.